Suggest a tool

DOM Testing Library

Metrics as of , from the GitHub or GitLab API of each repository. Refreshed monthly.

What DOM Testing Library is

DOM Testing Library is a JavaScript library of utilities for testing DOM nodes. Its main utilities query the DOM for elements the way a user finds them on a page. Tests can run against a DOM simulated with JSDOM, which Jest provides by default, or in a real browser. The utilities operate on DOM nodes rather than component instances. Its guiding principle is that tests should resemble how the software is used. The package installs from npm as a development dependency. The documentation site also covers framework and tool-specific implementations.

Written from the project's README, read .

Category
Browser automation
License
MIT
Language
JavaScript
Changelog
Releases on GitHub

Repository metrics

Repository metrics
Stars3,3321
Forks4731
Open issues and PRs1311
Contributors1961
Commits in the last 90 days11
Last commit2026-09-131
Last releasev10.4.2, 2026-09-131
Fetched

1 Fetched from the GitHub or GitLab API on . Hover a value for its own date.

Status

activeLast commit within 90 days of the fetch date.

Computed from the last commit date and the archive flag on the fetch date. See the status rules.

Alternatives

Listed browser automation tools, same primary language first, then by GitHub stars. Each line gives one fact from the tool's documentation where it differs from DOM Testing Library's, with its source.

How to install

npm install --save-dev @testing-library/dom
From README, read .

Questions

Is DOM Testing Library open source?

Yes. DOM Testing Library is released under MIT, an OSI-approved license, as reported by the GitHub API on 2026-09-22.

Is DOM Testing Library maintained?

On 2026-09-22, the last commit to the default branch was on 2026-09-13, so the listed status is active. Rule: Last commit within 90 days of the fetch date.

How many GitHub stars does DOM Testing Library have?

3,332 stars on 2026-09-22, from the GitHub API. The number is refreshed at each monthly update.

What language is DOM Testing Library written in?

The repository's primary language, as reported by the GitHub API, is JavaScript.

How do I install DOM Testing Library?

The README gives this command: npm install --save-dev @testing-library/dom

Sources

  1. GitHub REST API: repository, read
  2. GitHub REST API: commits, read
  3. GitHub REST API: latest release, read
  4. GitHub REST API: contributors, read
  5. README, read