-
-
Notifications
You must be signed in to change notification settings - Fork 513
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
Shadow Root throws UnsupportedOperationException #2672
Comments
Can you provide a sample project? |
Sorry , I did not get you . Are you asking to share the project which we are using ? |
Yes, can you provide a sample project that reproduces this issue? |
Sorry , I cant provide you a sample project , Its work project , I cant share it . Please follow below steps to reproduce by using serenity. Steps to reproduce: 1.Create an account with uipath cloud community application from this link https://cloud.uipath.com and login into application. I am getting error when script is executing 2nd line. 1.WebElement shadowHost = find(By.xpath("//portal-nav")); Error:java.lang.UnsupportedOperationException: getShadowRoot Serinity 3.1.15(Selenium version 4.1.1) |
If you can't provide a sample project to reproduce the issue it is unlikely that someone will pick up the issue to try to resolve it (unless it comes up as a support request from a commercial client). Have you tried looking into the code yourself? |
Try with 3.2.0 - the Shadowdom logic has had some refactoring. Otherwise, step into the Serenity code to see what it is doing. |
You can access Shadow Dom elements using the |
Please refer below bug for issue description.
SeleniumHQ/selenium#10269
The text was updated successfully, but these errors were encountered: