Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Tool for CSS Refactoring - diff current screenshot against a reference screenshot.
branch: master

A simple tool to compare screenshots of webpages to make css refactoring easier

Usage: web-regression [options] URL

-r, --reference_png PNG_FILE     Png screenshot to compare against
-f, --fastfail                   Fail as soon as a difference detected. Implies -n
-n, --nodiff                     Don't create a diff png
-o, --opendiff                   Open a png showing diffs highlighted with red border
-h, --help                       Show this message
    --version                    Show version

Example: $ ruby -rubygems bin/web-regression -o

Requires chunky_png and poltergeist and their respective dependencies.

Something went wrong with that request. Please try again.