query-selector-shadow-dom

querySelector that can pierce Shadow DOM roots without knowing the path through nested shadow roots. Useful for automated testing of Web Components. Production use is not advised, this is for test environments/tools such as Web Driver, Playwright, Puppeteer

MIT License

Downloads
3.7M
Stars
221
Committers
8

Bot releases are hidden (Show)

query-selector-shadow-dom - 1.0.0 Latest Release

Published by Georgegriff over 3 years ago

Why not ey?

  • Switched to 1.0.0 release for change of default branch to main
  • Fix linter issues
query-selector-shadow-dom - 0.8.0

Published by Georgegriff about 4 years ago

Descendant selector support thanks to: https://github.com/mariusandra

query-selector-shadow-dom - WebdriverIO Support

Published by Georgegriff about 4 years ago

Added support for WebdriverIO custom locator strategy plugin
https://github.com/Georgegriff/query-selector-shadow-dom#webdriverio

query-selector-shadow-dom - Puppeteer Plugin - Experimental

Published by Georgegriff about 4 years ago

Experimental!

There is now a plugin available that uses the experimental custom Query Handler API from Puppeteer.
This API could be changed at any moment via Puppeteer without a breaking sem version.

https://github.com/Georgegriff/query-selector-shadow-dom/blob/master/examples/puppeteer/custom-engine.js

query-selector-shadow-dom - Protractor plugin

Published by Georgegriff over 4 years ago

Thank you to @jan-molak for the new plugin and documentation for protractor support.

Puppeteer support for custom locators should be coming in the future which is what is being kept for 1.0.0 of the lib

query-selector-shadow-dom - Normalize css selectors

Published by Georgegriff over 4 years ago

From issue #31 put a change in to normalize css selectors before processing them

query-selector-shadow-dom -

Published by Georgegriff over 4 years ago

query-selector-shadow-dom - Playwright

Published by Georgegriff over 4 years ago

Adds playwright support: thanks to @ihor-nikiforov-scout

https://github.com/Georgegriff/query-selector-shadow-dom/pull/19

query-selector-shadow-dom - Handle error when child found but parent isn't and gets to document

Published by Georgegriff about 5 years ago

query-selector-shadow-dom - Not found elements for querySelectorDeep return null

Published by Georgegriff almost 6 years ago

query-selector-shadow-dom - Shadow root children of root element

Published by Georgegriff almost 6 years ago

query-selector-shadow-dom - Add alternative document node

Published by Georgegriff almost 6 years ago

Added support for a 2nd parameter for the methods, to allow for iframe support

#5
thanks to @jasongardnerlv for the suggestion

query-selector-shadow-dom -

Published by Georgegriff almost 6 years ago

#4

query-selector-shadow-dom -

Published by Georgegriff almost 6 years ago

#3

query-selector-shadow-dom - Bug fixes for selector-lists and attribute selectors

Published by Georgegriff almost 6 years ago

query-selector-shadow-dom -

Published by Georgegriff almost 6 years ago

Fix bug found in #2 related to extra white space in selectors

query-selector-shadow-dom -

Published by Georgegriff over 6 years ago

query-selector-shadow-dom -

Published by Georgegriff over 6 years ago

Package Rankings
Top 1.83% on Npmjs.org
Badges
Extracted from project README
Build Status npm version