Grunt task for node-huxley.


Grunt task runner for node-huxley.

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

Selenium Server is used to automate the recorded browser actions. Don't have it yet? Try the node wrapper.

If you're already familiar with node-huxley, the API is basically the same:

Difference with the official API: instead of globs, you can pass them as the standard grunt src. There's also the action key (one of writeScreenshots, recordTasks, compareScreenshots and defaultWorkflow).

module.exports = function(grunt) {
    huxley: {
      all: {
        options: {
          action: 'defaultWorkflow'
        src: [
  grunt.registerTask('default', ['huxley:all']);