加载网页
var page = require('webpage').create();
page.open('http://www.google.com', function(status) {
console.log("Status: " + status);
var title = page.evaluate(function() {
return document.title;
});
console.log("Loaded page: " + title);
phantom.exit();
});