imbdb / report-diff

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Visually Compare web pages

Usage

Installation

npm i

Canvas might cause some installation issues on windows,WSL recommended

Read this wiki if getting ERR_DLOPEN error, It has installation guide.

https://github.com/Automattic/node-canvas/wiki

Add URLs to the index.js file

Open index.js and add your urls in the topics object.

then run the script using

node index.js

This will open puppeteer for taking screenshots of the page and then it can also create diff of those images if you run it next time.

All images will be stored in images directory.

About


Languages

Language:JavaScript 100.0%