@saucelabs/visual-snapshots
v0.3.0
Published
CLI which generates Visual snapshots from a data source such as pdf
Readme
Sauce Labs Visual Snapshot CLI
This package provides a CLI tool to create Visual snapshots of a provided PDF document.
Requirements
node >= 20Installation
npm install --save @saucelabs/visual-snapshotsDevelopment
Build:
npm run buildExecute:
node lib/index.js pdf [params]Run tests:
npm run testReusing pdf conversion code
While it is possible to use VisualSnapshotsApi outside this package, please bear in mind it can only be used with ESM modules.
CommonJS modules are not supported.
