Skip to content

Instantly share code, notes, and snippets.

@pparadis

pparadis/title.js

Created Nov 4, 2014
Embed
What would you like to do?
PhantomJS Titre
var page = require('webpage').create();
page.open(url, function(status) {
var title = page.evaluate(function() {
return document.title;
});
console.log('Page title is ' + title);
});
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.