-
-
Notifications
You must be signed in to change notification settings - Fork 8.5k
[🐛 Bug]: webdriver.Firefox()
fails with 'status': [13, 'unknown error']
#15763
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@sci-42ver, thank you for creating this issue. We will troubleshoot it as soon as we can. Selenium Triage Team: remember to follow the Triage Guide |
@sci-42ver What version of Selenium are you using, and where did you install it from? It looks like you have geckodriver installed already. Where did you install it from? You might have better luck removing it and letting Selenium install the correct version for you (via selenium-manager). |
I use the latest 4.32.0 which can be also checked with I added that in the original post but that is removed by the github-actions. You can check that in the Edits.
I use $ source ~/main-env/bin/activate
(main-env) $ pip show Selenium
Name: selenium
Version: 4.32.0
Summary: Official Python bindings for Selenium WebDriver
Home-page: https://www.selenium.dev
Author:
Author-email:
License: Apache 2.0
Location: /home/hervey_arch/main-env/lib/python3.13/site-packages
Requires: certifi, trio, trio-websocket, typing_extensions, urllib3, websocket-client
Required-by: helium
(main-env) $ pip --version
pip 24.3.1 from /home/hervey_arch/main-env/lib/python3.13/site-packages/pip (python 3.13)
I installed
I tried |
Can you try starting |
Yes and the latter has $ geckodriver
1748336598624 geckodriver INFO Listening on 127.0.0.1:4444 which seems to be expected mozilla/geckodriver#510 (comment). |
That looks fine. Does firefox launch from the command line without error also? |
Yes. At least I can surf the internet there. Different from Chrome, it has no default logging. I tried to enable all using |
If both firefox and geckodriver work fine outside of selenium, I'm not sure what's going wrong. You will most likely have to raise an issue with mozilla/geckodriver since I don't think we are doing anything incorrectly from the selenium side. |
OK. I will follow one post of yours mozilla/geckodriver#2224 (comment). |
This was caused by bad environment configuration on the user's system: mozilla/geckodriver#2227 (comment) |
Uh oh!
There was an error while loading. Please reload this page.
Description
I follow the doc https://selenium-python.readthedocs.io/getting-started.html#simple-usage and expects to work, but it failed with
selenium.common.exceptions.WebDriverException: Message:
without saying more about that Message.System info:
Backtrace:
I use pdb to find the problem, the above
response
is{'status': [13, 'unknown error'], 'value': ''}
,caps
is same as what the log shows,capabilities
is{'browserName': 'firefox', 'acceptInsecureCerts': True, 'moz:debuggerAddress': True, 'pageLoadStrategy': <PageLoadStrategy.normal: 'normal'>, 'browserVersion': None, 'moz:firefoxOptions': {'binary': '/usr/bin/firefox', 'prefs': {'remote.active-protocols': 1}}}
and the rest are the default:Reproducible Code
Debugging Logs
The text was updated successfully, but these errors were encountered: