brenden / node-webshot

Easy website screenshots in Node.js
2.12k stars 286 forks source link

can't create shots on Windows #110

Open gacekssj4 opened 9 years ago

gacekssj4 commented 9 years ago

Hello,

I have problem with webshot. My code is:

 grunt.registerTask("generate", "your description", function() {
    var webshot = require('webshot');
    webshot('google.pl', 'image.jpg');      
 });

Calling this task dos nothing. Calling grunt-webshot also does not work at all. Only way I can generate image is through webshot-cli. But I wanted to create automated version.