Free alternatives to shadow-dom-testing-library
200 free apps like shadow-dom-testing-library, closest match first.
Top picks
- Q

query-selector-shadow-dom
Launchquery-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
- 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
- T

Testing Library
LaunchTesting Library is a family of open-source JavaScript libraries for testing user interfaces by querying the page the way users find things on it. Tests look up elements by role, label and text rather than by implementation details, which th
Open source
- J

jest-preview
LaunchJest Preview is a debugging tool that shows your Jest test output as a real page in a browser. When you write tests with Jest and react-testing-library, you usually read the HTML to understand the UI, which gets hard when the markup is comp
Open source
- H
Happy Dom
LaunchHappy DOM is a JavaScript implementation of a web browser without its graphical user interface. It gives code that expects a browser, such as DOM manipulation, custom elements and fetch calls, a working document model inside Node.js or Bun,
Open source
- R

react-testing-library
Getreact-testing-library is an agent skill for writing tests for React components the way users interact with them. It centers on user-centric testing, with queries that find elements by what a user sees, user-event simulation for realistic cl
More like shadow-dom-testing-library

vue-testing-best-practices
Vue.js testing. Covers Vitest, Vue Test Utils, component testing, mocking

@viselect/vanilla
Simple, lightweight and modern library library for making visual DOM Selections
@wc-toolkit/storybook-helpers
Helpers designed to make integrating Web Components with Storybook easier

@storybook/addon-docs
Storybook Docs: Document UI components automatically with stories and MDX

@vertical-insure/web-components
Vertical Insure Web Components using Lit and Open Web Standards

@cloudflare/ai-search-snippet
A production-ready, self-contained TypeScript Web Component library
About shadow-dom-testing-library

shadow-dom-testing-library
An extension of DOM-testing-library to provide hooks into the shadow dom
shadow-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 library adds a Shadow-prefixed version of each query type. Its screen object comes with the query functions bound to the document, and every query accepts a shallow option that searches only one shadow root deep. It also exports deepQuerySelector and deepQuerySelectorAll for finer control, and a within function that binds the queries to a particular container element. The README warns that the shadow and deep queries recurse through every shadow root, which can find unintended elements in tests, and that recursing can be expensive in a DOM with many elements. For setup, Jest users need jsdom 16.2 or later and Jest 26.2 or later. The README describes the library as very new and asks users to report any issues they find.
- Price
- Free
- Made by
- paramagicdev
- Category
- UI Libraries
- Website
- github.com/konnorrogers/shadow-dom-testing-library





























