Getting "raise WebDriverException" running Selenium Python for Firefox on Windows 7 -


i continuously getting python errors while trying execute following simple selenium python code firefox on windows 7 system.

from selenium import webdriver selenium.webdriver.common.keys import keys  driver = webdriver.firefox() driver.get("http://www.python.org") 

i couldn't find previous questions related windows , i'm trying see if can me solve issue.

i've uninstalled python 3.4 , installed latest python 3.5 no avail.

here's error message in entirety:

=============== restart: c:\pythonscripts\selenium\firefox.py =============== traceback (most recent call last): file "c:\pythonscripts\selenium\firefox.py", line 4, in driver = webdriver.firefox() file "c:\python35\lib\site-packages\selenium\webdriver\firefox\webdriver.py", line 78, in init self.binary, timeout) file "c:\python35\lib\site-packages\selenium\webdriver\firefox\extension_connection.py", line 51, in init self.binary.launch_browser(self.profile, timeout=timeout) file "c:\python35\lib\site-packages\selenium\webdriver\firefox\firefox_binary.py", line 68, in launch_browser self._wait_until_connectable(timeout=timeout) file "c:\python35\lib\site-packages\selenium\webdriver\firefox\firefox_binary.py", line 98, in _wait_until_connectable raise webdriverexception("the browser appears have exited " selenium.common.exceptions.webdriverexception: message: browser appears have exited before connect. if specified log_file in firefoxbinary constructor, check details.

  • python version 3.5.1
  • selenium version 2.51.0
  • firefox version 44.0.2
  • windows version 7 professional sp1

appreciate on this.


Comments

Popular posts from this blog

java - Suppress Jboss version details from HTTP error response -

gridview - Yii2 DataPorivider $totalSum for a column -

Sass watch command compiles .scss files before full sftp upload -