Closed drheld closed 1 year ago
@drheld, thank you for creating this issue. We will troubleshoot it as soon as we can.
Triage this issue by using labels.
If information is missing, add a helpful comment and then I-issue-template
label.
If the issue is a question, add the I-question
label.
If the issue is valid but there is no time to troubleshoot it, consider adding the help wanted
label.
If the issue requires changes or fixes from an external project (e.g., ChromeDriver, GeckoDriver, MSEdgeDriver, W3C),
add the applicable G-*
label, and it will provide the correct link and auto-close the
issue.
After troubleshooting the issue, please add the R-awaiting answer
label.
Thank you!
This is a known chromedriver bug.
One suggestion is to try the new headless mode: --headless=new
(see https://www.selenium.dev/blog/2023/headless-is-going-away/)
Hi, @drheld. This issue has been determined to require fixes in ChromeDriver.
You can see if the feature is passing in the Web Platform Tests.
If it is something new, please create an issue with the ChromeDriver team. Feel free to comment the issues that you raise back in this issue. Thank you.
Thanks, Titus! That solves it.
I had the exact same problem and @titusfortner's solution worked for me too
Same bug at Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1031114#24 It did show up when they tried to migrate from 109.0.5414.119-1 to chromium 110.0.5481.77-2
My code got an error and I thought my code was wrong. But it turned out it wasn't.
there is more here is what was say on the Debian bug above:
I found a fix has been committed upstream to chromium driver:
https://chromium.googlesource.com/chromium/src/+/b8dc3864aa0ad1048d43353e681bb9d95d7a4a83%5E%21/ https://chromium-review.googlesource.com/c/chromium/src/+/4238878
The bug reports (https://bugs.chromium.org/p/chromedriver/issues/detail?id=4357 and https://bugs.chromium.org/p/chromium/issues/detail?id=1414672) say:
"It is going to land in branch 112. Appx. 1 - 2 weeks after it (needed for testing) we will back marge it to the branch 111 and, possibly, to the branch 110"
"As a quick workaround you can try passing "--headless=new" instead of "--headless".'
I run selenium install add extensions. Initially, running was no problem. But after a period of time, an error occurs:
selenium.common.exceptions.SessionNotCreatedException: Message: session not created: cannot process extension #1 from unknown error: cannot unzip
Does anyone know how to handle this bug? Many thanks
What happened?
I recently started getting an error when trying to create a webdriver:
selenium.common.exceptions.WebDriverException: Message: unknown error: unable to discover open pages
It seems like this happens if the two following settings are set:
headless = True
--user-data-dir
If I turn off either one of those options then it works, but if both are set I get the error specified above.
Sample code snippet which is consistently reproducing on my machine attached below as well as full log output.
Any ideas on how to debug this would be appreciated. Thanks!
How can we reproduce the issue?
Relevant log output
Operating System
Debian rodete 20230126.02.03RD
Selenium version
Python 3.10.9
What are the browser(s) and version(s) where you see this issue?
Chrome 110.0.5481
What are the browser driver(s) and version(s) where you see this issue?
Chromedriver 110.0.5481 google-chrome
Are you using Selenium Grid?
No response