node-webkit-screenshot icon indicating copy to clipboard operation
node-webkit-screenshot copied to clipboard

Cannot generate Screenshots

Open donny08 opened this issue 8 years ago • 0 comments

Hello,

I am unable to run below code on Linux Mint it gets stuck for longtime.

var fs = require('fs'); var screenshot = require('node-webkit-screenshot');

screenshot({ url : 'http://nisos.ngo.karmaworld.co/', width : 1024, height : 768, port:5000 }).then(function(buffer){ console.log(buffer) fs.writeFile('./out.png', buffer, function(){ // This will close the screenshot service screenshot.close(); exit(1); }); });

donny08 avatar Apr 12 '16 08:04 donny08