Open source alternatives to shadow-dom-testing-library
200 open source apps like shadow-dom-testing-library, closest match first.
Top picks
- 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
- S

server-dom-shim
Launchserver-dom-shim is a small package that stops server-side rendering from failing on browser-only DOM classes. When code that refers to HTMLElement runs on a server, Node.js does not define it, and the render fails with an error saying HTMLE
Open source
- J
Jest Preview
LaunchJest Preview is an open-source tool that shows your Jest tests in the browser, so you can see what the UI looks like while you write the test. You write tests in Jest as usual, and the changes appear in the browser within a few milliseconds
Open source
- J

jest-marbles
Launchjest-marbles is a helper library for testing reactive code written with RxJS. It provides helper functions and Jest matchers for marble testing, so tests can describe streams with short marble strings. When a test fails, the error messages
More like shadow-dom-testing-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





















