node-phantomjs-sync
node-phantomjs-sync copied to clipboard
support of page.close()
please add support of page.close() now it just hangs on close()
sync(
function () {
ph = phantom.create();
page = ph.createPage();
status = page.open("http://www.google.com");
console.log("status="+status);
title = page.evaluate(function () { return document.title; });
console.log("title="+title);
page.close();
console.log("Page closed.");
ph.exit();
}
);