grunt-autoshot
grunt-autoshot copied to clipboard
Get automatic html files and generate
Have any way to auto search the html files and generate the screenshots from this files?
autoshot: {
dist: {
options: {
path: '<%= config.dist %>/screenshots/',
remote: {
files: []
},
local: {
path: './dist',
port: 7788,
files: [{
src: '404.html',
dest: '404.jpg'
}, {
src: 'acessibilidade.html',
dest: 'acessibilidade.jpg'
}, {
src: 'alterar-abas.html',
dest: 'alterar-abas.jpg'
}]
},
viewport: [
'1920x1080',
'1024x768',
'640x960'
]
}
}
}