Webshot does not work on DigitalOcean
What I did:
- npm install webshot https://www.npmjs.com/package/webshot
- Ran this .js file
var webshot = require('webshot');
webshot('google.com', 'google.png', function(err) {
// screenshot now saved to google.png
});
What didn't work: The screenshot was not saved. I tried it on Linux Mint and it worked perfectly but when it comes to using DigitalOcean it did not. Any help will be appreciated.
Log In to Comment