grunt-autoshot icon indicating copy to clipboard operation
grunt-autoshot copied to clipboard

Get automatic html files and generate

Open brunowego opened this issue 10 years ago • 0 comments

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'
                    ]
                }
            }
        }

brunowego avatar Apr 15 '14 20:04 brunowego