I work on Windows 7,
using 0.16.0 version of webshot, code that I'm trying is very simple:
var webshot = require('webshot');
console.log(webshot);
webshot('https://www.google.co.il/', __dirname = '/google.png', function (err) {
// screenshot now saved to google.png
});
I installed 1.9.16 version of phantomjs, and It still doesn't work.
I work on Windows 7, using 0.16.0 version of webshot, code that I'm trying is very simple:
var webshot = require('webshot'); console.log(webshot); webshot('https://www.google.co.il/', __dirname = '/google.png', function (err) { // screenshot now saved to google.png });
I installed 1.9.16 version of phantomjs, and It still doesn't work.