0.2.0 • Published 6 months ago
@saucelabs/visual-snapshots v0.2.0
Sauce Labs Visual Snapshot CLI
This package provides a CLI tool to create Visual snapshots of a provided PDF document.
Requirements
node >= 18Installation
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.