I use selenium on python, it used to work (a month ago), but now the browser does not open, it opens up and crashes, the code + log:

>>> from selenium import webdriver >>> driver = webdriver.Firefox() 

Traceback (most recent call last): File "", line 1, in File "D: \ python35 \ lib \ site-packages \ selenium \ webdriver \ firefox \ webdriver.py", line 103, in init self.binary, timeout ) File "D: \ python35 \ lib \ site-packages \ selenium \ webdriver \ firefox \ extension_connection.py", line 51, in init self.binary.launch_browser (self.profile, timeout = timeout) File "D: \ python35 \ lib \ site-packages \ selenium \ webdriver \ firefox \ firefox_binary.py ", line 68, in launch_browser self._wait_until_connectable (timeout = timeout) File" D: \ python35 \ lib \ site-packages \ selenium \ webdriver \ firefox \ firefox_binary.py ", line 98, in _wait_until_connectable raise WebDriverException (" The browser appears to have exited "selenium.common.exceptions.WebDriverException: If you’re a log_file in the FirefoxBinary constructor, check it for details.

I use python 3.5, windows 10. I saw the answers, but they are all under linux (as an example: installing X, which I did not find under Windows)

  • one
    Browser version? On Firefox 47 selenium crash - Artem Y
  • It automatically updates itself, yes, the 47th version. Have to roll it back? (and how?) - Vladimir Saleev
  • I rolled back to 46 and it all worked! - Vladimir Saleev

1 answer 1

Selenium does not work on Firefox version 47.0. You need to roll back the browser to version 46.