Official Snapvisor JavaScript SDKs and CLI for visual
regression testing. This monorepo centralizes every Snapvisor JavaScript package
under the @snapvisor/ namespace, providing a consistent interface across
JavaScript environments.
Pick the high-level SDK for your test framework, then follow that package's README:
@snapvisor/playwright— capture screenshots from your Playwright tests:npm i @snapvisor/playwright@snapvisor/storybook— capture screenshots of your Storybook stories:npm i @snapvisor/storybook@snapvisor/vitest— capture screenshots from your Vitest browser tests:npm i @snapvisor/vitest@snapvisor/cli— interact with and upload screenshots to Snapvisor from the command line:npm i -D @snapvisor/cli@snapvisor/core— Node.js SDK, the base for building other integrations:npm i @snapvisor/core@snapvisor/api-client— typed client for the Snapvisor API:npm i @snapvisor/api-client@snapvisor/browser— browser utilities to stabilize visual testing:npm i @snapvisor/browser@snapvisor/util— shared utilities used across the SDKs:npm i @snapvisor/util
Snapvisor-JS is a fork of argos-ci/argos-javascript (MIT, Copyright 2022 Smooth Code). We track upstream — see SYNC.md.