Skip to content

Instantly share code, notes, and snippets.

@kolserdav
Created October 26, 2018 09:35
Show Gist options
  • Save kolserdav/59795df83b80c6dcfbc2163142ffe5f4 to your computer and use it in GitHub Desktop.
Save kolserdav/59795df83b80c6dcfbc2163142ffe5f4 to your computer and use it in GitHub Desktop.
if (status === 'success') {
//page.render("just loaded.jpg");
setTimeout(function(){
page.render("screenshots/web.jpg");
var num = evaluate(tag);
console.log(num);
phantom.exit();
}, 2500);
}
else {
console.error("Error open page");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment