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

CDP element retrieving strategy fail with shadowDOM #17

Open
avallete opened this issue Jul 29, 2020 · 0 comments
Open

CDP element retrieving strategy fail with shadowDOM #17

avallete opened this issue Jul 29, 2020 · 0 comments

Comments

@avallete
Copy link
Owner

Related opened issue: https://bugs.chromium.org/p/chromium/issues/detail?id=1107096

Originally posted by @avallete in #14 (comment)

Unrelated to the scrollIntoView issue, it seem that calling DOM.querySelector doesn't return a valid nodeId, causing the code to fail at some point.

I've opened an issue on chromium project to as if that's a desired behaviour.

In the mean time, it would be great to explore some other options like the use of https://chromedevtools.github.io/devtools-protocol/tot/Debugger/#method-evaluateOnCallFrame to retrieve a RemoteObjectId which seem to be used as a replacement to nodeId for DOM.getContentQuads function.

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

1 participant