Skip to content
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

Sitespeed not working with Shadow root elements capturing #4421

Open
harishonly4u opened this issue Jan 29, 2025 · 1 comment
Open

Sitespeed not working with Shadow root elements capturing #4421

harishonly4u opened this issue Jan 29, 2025 · 1 comment

Comments

@harishonly4u
Copy link

Need urgent help on sitespeed scripting in executing the js query to navigate the shadowroot elements and validate the UI workflows .

When we implement the shadowroot.queryselextot .. it’s not accepting and throwing error

Couldn’t execute script named custom error : JavaScript error : cannot read properties of null ( reading shadow root )

@soulgalore
Copy link
Member

soulgalore commented Jan 29, 2025

Hi, can you check the Selenium documentation https://www.selenium.dev/selenium/docs/api/javascript/WebElement.html and then you can use that. Here you have some examples to run Selenium code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants