from selenium import webdriver

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

assert 'Django' in browser.title
[(3, 'selenium.webdriver.Firefox', 'webdriver.Firefox', False, 'from selenium import webdriver\n')]