firefox v 28.0.2
python v3.5.2
selenium v2.53.6 (I ran pip install -U selenium and it states that it is updated)
windows 10 home version 1511 build 10586.545
I can't get this simple python code to work.
when I run this code an instance of firefox opens but it does not goto to the webpage that I defined
it just hangs at "about:blank&utm_content=firstrun"
Why doesn't this work?
from selenium import webdriver
from
selenium.webdriver.common.by import By
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC
from selenium.common.exceptions import TimeoutException
webpage = "
http://finance.yahoo.com"
browser = webdriver.Firefox()
browser.get(webpage)
BTW, I tried using other webbrowsers:
webdriver.Opera() - failed.
webdriver.Edge() - success only after downloading and installing MSFT's MicrosoftWebdriver.msi
I do not have chrome installed on this PC so I didn't try webdriver.Chrome()