Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- page.onLoadFinished = function()
- {
- // function body
- var pageTitle = page.evaluate(function() {
- console.log('Page Name: ' + document.title);
- return document.title;
- });
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement