A first try to build a website comparison tool based on screenshots, e.g. visual regression testing on updates.
Find a file
2018-10-23 14:43:24 +02:00
src TASK: Filter unnecessary urls. 2018-10-23 14:43:24 +02:00
.gitignore FEATURE: Screenshot whole website into sub folder 2018-09-03 08:26:46 +02:00
comparison TASK: Add recover file 2018-09-03 16:13:47 +02:00
composer.json TASK: Refactor code 2018-09-03 12:40:29 +02:00
readme.rst TASK: Add readme 2018-10-23 14:43:17 +02:00

Website Comparison

A small command line tool that will screenshot a whole website. On the next run there can be a comparison to the base that was created before.

Installation

Run composer install.

Also chromedriver is needed. Right now the pat his hardcoded to /usr/lib/chromium-browser/chromedriver in file comparison.

Also the chromium-browser binary has to be inside the $PATH.

Usage

First run ./comparison comparison:createbase to create the "base" version of the website. This way we have the base to compare against later.

Second run ./comparison comparison:comparetobase to screenshot website again and inform about differences.

For further possible options add --help.