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

Unable to fetch elements with reference to a shadow root. #3989

Closed
garg3133 opened this issue Jan 12, 2024 · 0 comments · Fixed by #3992
Closed

Unable to fetch elements with reference to a shadow root. #3989

garg3133 opened this issue Jan 12, 2024 · 0 comments · Fixed by #3992

Comments

@garg3133
Copy link
Member

garg3133 commented Jan 12, 2024

Description of the bug/issue

When trying to fetch the elements with reference to a shadow root, Nightwatch currently hits the /element/:elementId/elements endpoint, which works for most of the cases but is not the recommended endpoint for shadow root.

The correct endpoint it should hit is /shadow/:shadowRootId/elements.

More context: https://discord.com/channels/618399631038218240/1072953329400954970/1192259115657994250

Sample test

No response

Command to run

No response

Verbose Output

No response

Nightwatch Configuration

No response

Nightwatch.js Version

latest

Node Version

No response

Browser

No response

Operating System

No response

Additional Information

No response

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

Successfully merging a pull request may close this issue.

1 participant