2
votes

I've used Firefox with Webdriver on this machine before, but suddenly when I use any code that utilizes Firefox as the driver, Firefox will open and just sit there blankly. Absolutely nothing loads, my program hangs until I close the window at which point it raises the "browser not open" error.

Tried reinstalling. Chrome/IE Drivers work but I don't really want to use them.

Included a pic of exactly what happens when I use any code, for instance

from selenium import webdriver
from selenium.webdriver.common.keys import Keys

driver = webdriver.Firefox()
url = "http://google.com" 
driver.get(url)

Even this gets me nothing. enter image description here

1
Whats your selenium/firefox version?root
I think it's an issue with firefox version you had been using. You can try a standard version of firefox like 12 , 15 and testHarshavardhan Konakanchi

1 Answers

4
votes

upgrade to selenium version 2.29.0

pip install -U selenium

there was a bug fix in the previous version