from selenium import webdriver

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

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