Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var page = require('webpage').create();
- page.open('http://example.com', function(status) {
- console.log("Status: " + status);
- if(status === "success") {
- page.render('example.png');
- }
- phantom.exit();
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement