
DOM Testing Library
JavaScript utilities for testing DOM nodes, with queries that find elements the way users do.
testing-library.com/docs/dom-testing-library/intro/repositorydocs
DOM Testing Library is a JavaScript package for testing DOM nodes, the elements a page renders. Its queries look up nodes the way a user finds them on the page, and it installs from npm as a development dependency. The documentation sits within the wider Testing Library family.
Worth knowing
The README says the DOM nodes can be simulated with jsdom, which Jest provides by default, or taken from a browser. Framework bindings such as React Testing Library are separate packages built on this one.
Identity
Rendering and deploy
- Install with
- npm4
Releases
Adoption
Sources
- 2026-11-16: links
testing-library.com/docs/dom-testing-library/intro/ - 2026-11-16: links, License, Written in, GitHub stars
api.github.com/repos/testing-library/dom-testing-library - 2026-11-16: Maintainer, License model
raw.githubusercontent.com/testing-library/dom-testing-library/main/LICENSE - 2026-11-16: Runtime, Categories, Install with
raw.githubusercontent.com/testing-library/dom-testing-library/main/README.md - 2026-11-16: Minimum runtime
raw.githubusercontent.com/testing-library/dom-testing-library/v10.4.2/package.json - 2026-11-16: npm downloads a week
api.npmjs.org/downloads/range/2026-11-01:2026-11-07/@testing-library/dom - 2026-11-16: Current major version, Last release
api.github.com/repos/testing-library/dom-testing-library/releases - 2026-11-16: First release
api.github.com/repos/testing-library/dom-testing-library/commits/v1.0.0 - 2026-11-16: Contributors
api.github.com/repos/testing-library/dom-testing-library/contributors?per_page=1 - 2026-11-16: Dependent packages, Dependent repositories
packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@testing-library%2Fdom