-
-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[🐛 Bug]: Chrome driver 133.0.6943.98 switching windows and closing windows generates unknow expection #15299
Comments
@eliira71, thank you for creating this issue. We will troubleshoot it as soon as we can. Info for maintainersTriage this issue by using labels.
If information is missing, add a helpful comment and then
If the issue is a question, add the
If the issue is valid but there is no time to troubleshoot it, consider adding the
If the issue requires changes or fixes from an external project (e.g., ChromeDriver, GeckoDriver, MSEdgeDriver, W3C),
add the applicable
After troubleshooting the issue, please add the Thank you! |
I also get an error when closing one of the tabs and switching to the main tab after updating Chrome from version 132 to 133.
at the moment I have |
Can you please provide a reproducible test script? Also, does this also happen with Firefox? I think this can be a Chrome-specific issue but just want to confirm that. Thank you! |
Sorry, I cannot attach my test script because it is too tied to my test project, which is highly nested. But in my test case, an action occurs, after which a new tab opens and switches to it. Next, the action takes place in the new tab after which the tab closes automatically. At this point this error occurs. The error occurs only with the Google Chrome browser, it does not exist in Firefox |
I wrote an article to mitigate this issue: https://www.linkedin.com/pulse/test-automation-best-practices-pinning-browser-version-nir-tal-b5b8f/ |
Issue seems to be chrome specific. Same workflow works fine with Microsoft edge. |
Thanks for the article! But unfortunately it is not suitable for me since I need to test on the latest versions of chrome |
This seems related to #15318, there's a chromedriver issue opened - issues.chromium.org/issues/396611138 for the same. |
I get WebDriverException with chrome 133 (have to downgrade to 132...) This occurs when I get driver.WindowHandles.Count and when I switch window. Works fine in 132. Has been driving me mad for the past 2-3 weeks. Thought the new selenium version 4.29.0 would fix it, but no luck.
|
What happened?
Google chrome updated to 133.0.6943.99
So I update chrome driver to chromedriver-win64_133.0.6943.98
Now this call to wait for a second window generates a Timeout Exception.
The browser does open a new tab with the expected results but Selenium does not see it and generates a timeout.
WebDriverWait(driver, 20).until(EC.number_of_windows_to_be(2))
generates TimeoutException with no msg.
Only thing that changed was an update to chrome and the chrome web driver.
How can we reproduce the issue?
Relevant log output
Operating System
Windows 11
Selenium version
Pyhton 3.10.2 Selenium version: 3.141.0
What are the browser(s) and version(s) where you see this issue?
Chrome 133.0.6943.99
What are the browser driver(s) and version(s) where you see this issue?
chromedriver-win64_133.0.6943.98
Are you using Selenium Grid?
Yes, but duplicated results with and with out grid.
The text was updated successfully, but these errors were encountered: