Skip to content

Conversation

@redforks
Copy link

Implement W3C WebDriver ShadowRoot support.

This adds:

  • Add method Element::shadow_root()
  • ShadowRoot struct
  • ShadowRoot::{find, find_all}() methods

This enables locating elements inside open Shadow DOM trees,
allowing Fantoccini to interact with modern Web Components
(e.g. Shoelace, Lit, Vaadin).

I need to e2e test a web app uses shoelace web component, and this patch works

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 this pull request may close these issues.

1 participant