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

Vn-acuvity-poc: Unable to parse elements of Shadow DOM #66

Open
tanishq-acu opened this issue Jul 26, 2024 · 0 comments
Open

Vn-acuvity-poc: Unable to parse elements of Shadow DOM #66

tanishq-acu opened this issue Jul 26, 2024 · 0 comments

Comments

@tanishq-acu
Copy link

tanishq-acu commented Jul 26, 2024

It appears that playwright's page.content() function does not successfully get elements that might be within a shadow root.

This means that websites like https://www.bing.com/chat are not able to be successfully tested by the agent, as it cannot get HTML selectors for the input fields of the site.

This is observed in microsoft/playwright#30816.

Therefore, it would be better to write a JS function to be evaluated by Playwright to get the full HTML contents of the page instead.

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