-
Notifications
You must be signed in to change notification settings - Fork 1.3k
selenium.common.exceptions.WebDriverException on trying to run tests in Firefox under python3.11.2 #1813
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
In the same time simple pure selenium test works ok in the same environment:
|
Try it with one of the 23 Syntax Formats: https://github.com/seleniumbase/SeleniumBase/blob/master/help_docs/syntax_formats.md You used: from seleniumbase import get_driver
driver = get_driver("firefox", headless=True) But you might want to try this instead: from seleniumbase import Driver
driver = Driver(browser="firefox", headless=True) Your way was calling |
OK, I think I see the issue now. I'll ship a fix in the next release. |
For the moment, here's a workaround that should work when running tests:
That works as a backup to In a release coming soon, I'll add error-handling so that if But until then, use |
many thanks, @mdmintz |
Resolved in |
Hello,
Recently I've upgraded python3.8 to 3.11.2 and tried to run tests in Firefox, but receive following error:
...
selenium.common.exceptions.WebDriverException: Message: Process unexpectedly closed with status 1
...
Environment:
NOTE: I tried also [latest](https://github.com/mozilla/geckodriver/releases#:~:text=0.32.2-,Latest,-0.32.2%20(2023%2D02) driver - 0.32.2, but no luck.
I tried to run test_basic with the following command:
pytest -k test_basics --headless --browser=firefox
, but receive long stack-trace with error:
Full error log is in the file full_error_log.txt
I tried to verify geckodriver as is described here , but with the only difference - headless=True , and received following error:
Could you please help to resolve this issue?
Thanks in advance!
The text was updated successfully, but these errors were encountered: