Skip to content

Instantly share code, notes, and snippets.

@iamblue
Created February 27, 2014 02:48
Show Gist options
  • Select an option

  • Save iamblue/9243372 to your computer and use it in GitHub Desktop.

Select an option

Save iamblue/9243372 to your computer and use it in GitHub Desktop.
grunt-html-snapshot config
module.exports = function (grunt) {
grunt.loadNpmTasks('grunt-html-snapshot');
grunt.initConfig({
htmlSnapshot: {
all: {
options: {
snapshotPath: 'snapshots/',
msWaitForPages: 3000,
urls: ['http://localhost:9000/i/choose','http://localhost:9000/i/shop']
}
}
}
})
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment