Visually diff websites
$ git clone git@github.com:silverwind/pagediff.git
$ cd pagediff
$ npm i
$ ./server.js
a
URL or domain for the first pageb
URL or domain for the second pagew
width of the generated imagesh
height of the generated imagesdelay
delay in seconds after which to take the screenshot
Returns a Promise
that resolves to an object with the following properties:
a
path to the first rendered imageb
path to the second rendered imagediff
path to the diff imageperc
percentage of different pixels between images
On error, the Promise will be rejected with:
err
Error string and/or stack trace
Go to http://localhost:4000
and enter domains or URLs to compare.
© 2014-2015 silverwind, distributed under BSD licence