Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
var page = new WebPage();'', function (status) {
//once page loaded, include jQuery from cdn
page.includeJs("", function() {
//once jQuery loaded, run some code
//inserts our custom text into the page
page.evaluate(function(){$("h2").html('Many NFL Players Scared that Chad Moon Will Enter League');});
//take screenshot and exit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.