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
Bot releases are hidden (Show)
Why not ey?
Published by Georgegriff about 4 years ago
Descendant selector support thanks to: https://github.com/mariusandra
Published by Georgegriff about 4 years ago
Added support for WebdriverIO custom locator strategy plugin
https://github.com/Georgegriff/query-selector-shadow-dom#webdriverio
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.
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
Published by Georgegriff over 4 years ago
From issue #31 put a change in to normalize css selectors before processing them
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
Published by Georgegriff about 5 years ago
Thanks to @TomCaserta for the fix in https://github.com/Georgegriff/query-selector-shadow-dom/pull/9
Published by Georgegriff almost 6 years ago
Published by Georgegriff almost 6 years ago
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
Published by Georgegriff almost 6 years ago