Skip to content

Instantly share code, notes, and snippets.

@kellective
Last active August 29, 2015 14:04
Show Gist options
  • Save kellective/1c0ecbe3c306a2c2c59b to your computer and use it in GitHub Desktop.
Save kellective/1c0ecbe3c306a2c2c59b to your computer and use it in GitHub Desktop.
Huxley

What

System for catching visual regressions

Basically a diff tool for the visual layer of your web app. OMG awesome.

  • Records your actions as you browse.
  • Takes screenshots.
  • Compares new screenshots against the old ones and checks for differences.

Selenium Server is used to automate the recorded browser actions. If you are running node you might want to check out the Selenium node wrapper instead.

Why

Demo Install > Huxley File > Selenium > Run Huxley

  • Selenium Server + node-huxley

https://github.com/eugeneware/selenium-server

npm install -g selenium-server

node-huxley

  • A port of the front-end testing tool, Huxley

npm install -g huxley

https://github.com/chenglou/node-huxley

or

grunt-huxley

npm install grunt-huxley

https://github.com/chenglou/grunt-huxley

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment