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

Support shadow doms #380

Open
navidkpr opened this issue Jan 4, 2025 · 0 comments
Open

Support shadow doms #380

navidkpr opened this issue Jan 4, 2025 · 0 comments

Comments

@navidkpr
Copy link
Collaborator

navidkpr commented Jan 4, 2025

Repro:

  1. Go to "https://amplitude.com"
  2. Try to talk with their support chat bot on the bottom right of the page. It's in a shadow dom.

Right now, we just don't fetch the elements inside that shadow dom.

Changes to be made:

  • Traverse the children of the shadow dom in process.ts
  • Create the xpath / some way of finding the element in xpathUtils.ts
  • Support finding the element in findElementWithIframeSupport and safeLocatorWithIframeSupport
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