query-selector-shadow-dom

Shadow DOM selector

A tool to easily select elements in web page shadows even when you don't know the path through nested shadow roots.

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

GitHub

249 stars
9 watching
26 forks
Language: JavaScript
last commit: over 2 years ago
Linked from 1 awesome list

javascriptplaywrightprotractorpuppeteerqueryselectorseleniumshadow-domwebcomponentswebdriver

Backlinks from these awesome lists:

Related projects:

RepositoryDescriptionStars
praveenpuglia/shadow-dom-in-depthAn in-depth guide to Shadow DOM, including its purpose, terminology, browser support, and implementation details.232
wildhoney/reactshadowA library that enables style encapsulation in React applications using Shadow DOM.1,321
knownasilya/ember-shadow-domEnables encapsulation of styles and markup in a Shadow DOM root within Ember components.30
sukgu/shadow-automation-seleniumA Selenium plugin for automating shadow DOM elements and custom HTML tags in web applications built with Polymer.111
olegwock/inject-react-anywhereA library that injects React components into 3rd-party sites using ShadowDOM49
yuki24/capybara-shadowdomEnables Shadow DOM support in web page testing tools14
ded/qweryAn HTML query selector engine providing utility functions for DOM manipulation and event handling1,111
bigspaceship/shine.jsA JavaScript library for creating visually appealing shadows on DOM elements2,180
janlelis/object_shadowA library that provides a clean API to access an object's variables and methods through introspection and metaprogramming28
therealmjp/shadowsA D3D11 sample app demonstrating various real-time shadow mapping techniques.826
detro/ghostdriverAn implementation of the Remote WebDriver Wire protocol using PhantomJS as a backend1,914
andrelmlins/react-shadow-scrollA React component that adds a shadow effect to a scrollable list when scrolling occurs31
stuart/elixir-webdriverAn Elixir driver client for web browsers119
wleepang/shiny-directory-inputProvides an interactive way to select directories for R Shiny Applications48
syntax-tree/hast-util-selectUtility package for working with HTML structures in JavaScript38