Created
August 20, 2015 21:32
-
-
Save rahul-desai3/86ef360f63c98585a369 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var webshot = require('../lib/webshot'); | |
var options = { | |
shotSize: { | |
width: 1024, | |
height: 'all' | |
}, | |
renderDelay: 5000 | |
}; | |
webshot('cordbloodbanking.com', './cordbloodbanking.png', options, function(err) { | |
if (err) return console.log(err); | |
console.log('OK'); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment