BackstopJS
Visual regression testing tool that captures screenshots of a web app over time and compares them against approved references.
garris.github.io/BackstopJS/repositorydocs
BackstopJS runs visual regression tests on a web app. It loads each scenario in a headless browser, captures screenshots of the page or of selected elements at one or more viewport sizes, and compares them with reference images saved from an earlier run. Differences appear in an HTML report, where a person can approve the new screenshots as the next reference. Scenarios live in a JSON or JavaScript config file, and clicks, hovers and key presses run through Puppeteer or Playwright scripts.
The tool runs on Node.js. It is installed globally with npm for the command line, or locally in a project so that a Node script can call it. The README also describes a Docker image, started with a flag, that renders the tests in a container for consistency across environments. Reference and test images are written to a folder in the project, backstop_data by default.
Worth knowing
The README’s News section says BackstopJS needs a new maintainer or owner.
Identity
- Status
- Active
- Maintainer
- Garris Shipon4
- Maintained by
- Individual
- First release
- 20146
Rendering and deploy
Releases
Adoption
Sources
- 2026-10-28: links
garris.github.io/BackstopJS/ - 2026-10-28: links, Written in, License, GitHub stars
api.github.com/repos/garris/BackstopJS - 2026-10-28: links, Categories, Install with, Runs as
github.com/garris/BackstopJS/blob/master/README.md - 2026-10-28: Maintainer, License model
raw.githubusercontent.com/garris/BackstopJS/master/LICENSE - 2026-10-28: Runtime, Minimum runtime
raw.githubusercontent.com/garris/BackstopJS/master/package.json - 2026-10-28: First release
api.github.com/repos/garris/BackstopJS/releases - 2026-10-28: Current major version
registry.npmjs.org/backstopjs/latest - 2026-10-28: Last release
registry.npmjs.org/backstopjs - 2026-10-28: Contributors
api.github.com/repos/garris/BackstopJS/contributors - 2026-10-28: npm downloads a week
api.npmjs.org/downloads/range/2026-09-28:2026-10-04/backstopjs - 2026-10-28: Dependent packages, Dependent repositories
packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/backstopjs