A first try to build a website comparison tool based on screenshots, e.g. visual regression testing on updates.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Daniel Siepmann c35ea7c8ef
TASK: Filter unnecessary urls.
4 years ago
src TASK: Filter unnecessary urls. 4 years ago
.gitignore FEATURE: Screenshot whole website into sub folder 4 years ago
comparison TASK: Add recover file 4 years ago
composer.json TASK: Refactor code 4 years ago
readme.rst TASK: Add readme 4 years ago


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.


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``.


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``.