-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
[🐛 Bug]: Regression in closed shadow root access with Chrome Beta 131 #14631
Comments
@GaurangTandon, 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! |
@GaurangTandon thanks for reporting this issue. I was able to reproduce this issue with Google Chrome Beta (131), but since this issue doesn't occurs in Chrome stable with selenium, we cannot currently say that it's a selenium issue. |
Sure I have posted it on Chromedriver bugs now also: https://issues.chromium.org/issues/375892677 |
Hi, @GaurangTandon. 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. |
What happened?
Here's a video showing the issue: https://www.loom.com/share/1101be1e1c1a4770a439cf0041c5c882
Plain text output log for your convenience:
Based on how Selenium has always behaved, I believe this new behavior on Chrome 131 is a regression. Running
document.getElementById('root').shadowRoot
still returnsnull
in Chrome 131, so I think this might be a Selenium issue rather than Chrome issue. Please do let me know if it's otherwise and I will report it on bugs.chromium.org/p/chromedriverHow can we reproduce the issue?
Python code:
HTML file:
Install selenium and run
python runtest.py
two times, once with thebinary_location
set to Chrome beta (as it is right now) and other without it (so it runs stable version). The video shows the step clearly.Relevant log output
When I put
at the top of the Python file above, I don't get any logs output on the terminal.
Operating System
macOS
Selenium version
4.25.0
What are the browser(s) and version(s) where you see this issue?
Chrome 131 beta
What are the browser driver(s) and version(s) where you see this issue?
(automatically downloaded by Selenium)
Are you using Selenium Grid?
No response
The text was updated successfully, but these errors were encountered: