Alternatives to query-selector-shadow-dom
200 apps like query-selector-shadow-dom, closest match first.
Top picks
- S

shadow-dom-testing-library
Launchshadow-dom-testing-library extends DOM Testing Library so you can query elements inside shadow DOM. DOM Testing Library does not check shadow roots, which makes it hard to find something like a button nested inside a shadow root. This libra
- W

@webcomponents/shadydom
LaunchShadyDOM is a shim for Shadow DOM V1 that is part of the Web Components polyfills. The README says it is less correct than the full ShadowDOM polyfill, but less intrusive and faster. Its usage is transparent when attachShadow is unavailable
- L

@lwc/synthetic-shadow
LaunchShadow DOM polyfill by LWC.
- S

SelectorsHub
LaunchSelectorsHub is the Next Gen xPath Plugin & cssSelectors tool. It supports all kinds of XPath, locators, shadow dom, iframe, svg, dynamic elements, multi selectors generation and xpath error handling. It generates Axes based relative xpath,
- V

vue-shadow-dom
LaunchShadow is a library that adds Shadow DOM support to Vue, so a component can render its contents inside a shadow root. The shadow element takes a tag prop, which defaults to div, and an abstract prop that moves the shadow root and stops othe
- W

@webcomponents/shadycss
LaunchShadowDOM style encapsulation shim.
More like query-selector-shadow-dom

Playwright Browser Automation
Model-invoked Playwright automation for testing and validating web applications
About query-selector-shadow-dom

query-selector-shadow-dom
use querySelector syntax to search for nodes inside of (nested) shadow roots
query-selector-shadow-dom is a small JavaScript library from the WebdriverIO project that lets you use querySelector-style syntax to find elements inside nested shadow DOM roots, without having to know the full path through each shadow root. It exposes querySelectorDeep, which returns the first match, querySelectorAllDeep, which returns all matches, and collectAllElementsDeep, which gathers every element on the page including those inside shadow roots. Both query methods accept an optional starting node, so you can search from a point inside the page. A WebdriverIO plugin adds a custom selector strategy. The project notes that it was written for test environments and tools such as WebDriver, Playwright and Puppeteer, and that production use is not advised. Known limits include that result order follows the query rather than the page order when a query has several comma-separated selectors. Firefox setValue does not work through it, and the README says Safari support is poor. Puppeteer has had built-in shadow DOM selectors since version 5.4.0.
- Price
- Free
- Made by
- georgegriff
- Category
- UI Libraries
- Website
- github.com/webdriverio/query-selector-shadow-dom




















