mozilla / geckodriver

WebDriver for Firefox
https://firefox-source-docs.mozilla.org/testing/geckodriver/
Mozilla Public License 2.0
7.03k stars 1.51k forks source link

gecko driver is throwing error python API #2125

Closed mjaafa closed 10 months ago

mjaafa commented 11 months ago

System

Last firefox version 102.13.0esr

Testcase

from selenium import webdriver

browser = webdriver.Firefox(executable_path='/usr/bin/geckodriver')

browser = webdriver.Firefox() browser.get('http://www.ubuntu.com/')

Stacktrace

Traceback (most recent call last): File "/home/momo/test.py", line 3, in browser = webdriver.Firefox() ^^^^^^^^^^^^^^^^^^^ File "/home/momo/anaconda3/lib/python3.11/site-packages/selenium/webdriver/firefox/webdriver.py", line 61, in init self.service.start() File "/home/momo/anaconda3/lib/python3.11/site-packages/selenium/webdriver/common/service.py", line 97, in start self.assert_process_still_running() File "/home/momo/anaconda3/lib/python3.11/site-packages/selenium/webdriver/common/service.py", line 110, in assert_process_still_running raise WebDriverException(f"Service {self._path} unexpectedly exited. Status code was: {return_code}") selenium.common.exceptions.WebDriverException: Message: Service /usr/bin/geckodriver unexpectedly exited. Status code was: 64

Trace-level log

whimboo commented 11 months ago

Could you please attach a trace-level log from geckodriver? Read more about reporting actionable bugs in our contribution guidelines. Also which version of geckodriver is in use?

whimboo commented 10 months ago

No response from reporter. Closing for now but happy to reopen if the requested information can be provided.