compare-screenshots
v0.5.3
Published
Compare screenshots of the given urls. Outputs detailed diff image.
Maintainers
Readme
compare-screenshots
A command-line utility and node.js library to take and compare screenshots of the given URLs.
This utility built to quickly taking and comparing screenshots of two URLs so you might spot the differences much easier than doing it manually.
Installation
npm i -g compare-screenshotsUsage
compare-screenshots https://example.com/foo https://example.com/bar
compare-screenshots --no-headless https://example.com/foo https://example.com/bar
compare-screenshots --out-dir ./screenshots https://example.com/foo https://example.com/bar
compare-screenshots --wait-for domcontentloaded https://example.com/foo https://example.com/bar
compare-screenshots --wait-for networkdidle0 https://example.com/foo https://example.com/bar
compare-screenshots --wait-for networkdidle2 https://example.com/foo https://example.com/bar
compare-screenshots --wait-for load https://example.com/foo https://example.com/bar
# target selector
compare-screenshots --target .content https://example.com/foo https://example.com/bar