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

[Feature]: Select Shadowroot as if it is child node? #12964

Closed
iamyou opened this issue Aug 16, 2024 · 2 comments
Closed

[Feature]: Select Shadowroot as if it is child node? #12964

iamyou opened this issue Aug 16, 2024 · 2 comments

Comments

@iamyou
Copy link

iamyou commented Aug 16, 2024

Feature description

By adding parameter to query function?

@iamyou iamyou added the feature label Aug 16, 2024
@Lightning00Blade
Copy link
Collaborator

@iamyou Please read https://pptr.dev/guides/page-interactions#querying-elements-in-shadow-dom

If you are trying to select the ShadowRoot and using JavaScript to attach said ShadowRoot you can check if works.

const shadowRootHandle = await element.evaluateHandle((el) => el.shadowRoot);

Can you explain your use-case further?

@Lightning00Blade
Copy link
Collaborator

As it's been more then two weeks with no response, I am closing this issue.

@Lightning00Blade Lightning00Blade closed this as not planned Won't fix, can't repro, duplicate, stale Sep 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants