Reputation: 1081
"The browser appears to have exited " selenium.common.exceptions.WebDriverException: Message: The browser appears to have exited before we could connect. If you specified a log_file in the FirefoxBinary constructor, check it for details.
I am using
Selenium version 2.53.6
firefox version 47.0
ubuntu 14.04.4
python 3.4.3
Here is the code that I am using
from pyvirtualdisplay import Display
from selenium import webdriver
display = Display(visible=0, size=(1024, 768))
display.start()
browser = webdriver.Firefox()
browser.get('https:\\aweber.com')
browser.quit()
display.stop()
Upvotes: 3
Views: 674
Reputation: 682
You may refer to this link. Selenium 2.53 not working on Firefox 47
You can find a solution to your problem in the above link or you can just simply downgrade your Firefox to version 45.
Upvotes: 2
Reputation: 116
Unfortunately Selenium WebDriver 2.53.6 is not compatible with Firefox 47.0.
I had the same problem and I download the Firefox (version 45) and everything works perfectly. Try this version : https://ftp.mozilla.org/pub/firefox/releases/45.0/
Upvotes: 1