from selenium import webdriver

browser = webdriver.Firefox()
browser.get('http://localhost:8000/')

body = browser.find_element_by_tag_name('body')
assert 'Django' in body.text

browser.quit()

@@ -28,85 +28,370 @@
 ver%0A
-%0Abrowser = webdriver.Firefox()%0Abrowser.get('http://localhost:8000/')%0A%0A
+from selenium.webdriver.common.keys import Keys%0A%0Afrom django.test import LiveServerTestCase%0A%0A%0Aclass AdminTest(LiveServerTestCase):%0A%0A    def setUp(self):%0A        self.browser = webdriver.Firefox()%0A%0A    def tearDown(self):%0A        self.browser.quit()%0A%0A    def test_admin_site(self):%0A%0A        self.browser.get(self.live_server_url + '/admin/')%0A%0A        
 body = 
+self.
 brow
@@ -431,49 +431,62 @@
 y')%0A
+        self.
 assert
- 
+In(
 'Django
-' in body.text%0A%0Abrowser.quit(
+ administration', body.text
 )%0A

test that admin page is up