Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

selenium is unable to open firefox

  • 1 reply
  • 4 have this problem
  • Last reply by Seburo

more options

>>> from selenium import webdriver >>> driver = webdriver.Firefox() Traceback (most recent call last):

 File "<pyshell#1>", line 1, in <module>
   driver = webdriver.Firefox()
 File "C:\Anaconda3\lib\site-packages\selenium\webdriver\firefox\", line 103, in __init__
   self.binary, timeout)
 File "C:\Anaconda3\lib\site-packages\selenium\webdriver\firefox\", line 51, in __init__
   self.binary.launch_browser(self.profile, timeout=timeout)
 File "C:\Anaconda3\lib\site-packages\selenium\webdriver\firefox\", line 68, in launch_browser
 File "C:\Anaconda3\lib\site-packages\selenium\webdriver\firefox\", line 98, in _wait_until_connectable
   raise WebDriverException("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.


It was working fine recently but my latest Firefox upgrade (47) seems to block it. What to do? Oh by the way same selenium is working fine with Chrome.

All Replies (1)

more options


I am sorry, but this question is beyond our considerable expertise to answer.

I recommend you ask in a specialist Selenium forum or support service.