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

242 stars
9 watching
25 forks
Language: JavaScript
last commit: 8 months ago
Linked from 1 awesome list

javascriptplaywrightprotractorpuppeteerqueryselectorseleniumshadow-domwebcomponentswebdriver

Backlinks from these awesome lists:

Related projects:

Repository Description Stars
praveenpuglia/shadow-dom-in-depth An in-depth guide to Shadow DOM, including its purpose, terminology, browser support, and implementation details. 231
wildhoney/reactshadow A library that enables style encapsulation in React applications using Shadow DOM. 1,315
knownasilya/ember-shadow-dom Enables encapsulation of styles and markup in a Shadow DOM root within Ember components. 30
sukgu/shadow-automation-selenium A Selenium plugin for automating shadow DOM elements and custom HTML tags in web applications built with Polymer. 111
olegwock/inject-react-anywhere A library that injects React components into 3rd-party sites using ShadowDOM 47
yuki24/capybara-shadowdom Enables Shadow DOM support in web page testing tools 14
ded/qwery An HTML query selector engine providing utility functions for DOM manipulation and event handling 1,110
bigspaceship/shine.js A JavaScript library for creating visually appealing shadows on DOM elements 2,180
janlelis/object_shadow A library that provides a clean API to access an object's variables and methods through introspection and metaprogramming 27
therealmjp/shadows A D3D11 sample app demonstrating various real-time shadow mapping techniques. 815
detro/ghostdriver An implementation of the Remote WebDriver Wire protocol using PhantomJS as a backend 1,914
andrelmlins/react-shadow-scroll A React component that adds a shadow effect to a scrollable list when scrolling occurs 31
stuart/elixir-webdriver An Elixir driver client for web browsers 120
wleepang/shiny-directory-input Provides an interactive way to select directories for R Shiny Applications 48
syntax-tree/hast-util-select Utility package for working with HTML structures in JavaScript 38