Reputation: 1913
I'm trying to follow along with this tutorial
which has me code the following to open a firefox browser using Selenium:
from selenium import webdriver
browser = webdriver.Firefox()
browser.get('http://localhost:8000')
assert 'Django' in browser.title
However, firefox opens to an annoying Windows 10 'welcome' page, and never visits the url I specify. How do I get around this?
Upvotes: 2
Views: 1488
Reputation: 473863
Firefox 43 and selenium 2.47 have compatibility issues.
Upgrade selenium
to the latest (currently, 2.48) version:
pip install --upgrade selenium
Upvotes: 6