Created
May 29, 2019 06:49
-
-
Save volodymyr-mykhailyk/60b73e760f3c881b767b3531c3ad64c7 to your computer and use it in GitHub Desktop.
PhantomJS test case
This file contains 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 page = require('webpage').create(); | |
page.open('http://www.google.com', function() { | |
setTimeout(function() { | |
page.render('google.png'); | |
phantom.exit(); | |
}, 200); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment