This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Aug 28th, 2013  |  syntax: None  |  size: 0.21 KB  |  views: 25  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. page.onLoadFinished = function()
  2. {
  3.     // function body
  4.     var pageTitle = page.evaluate(function() {
  5.             console.log('Page Name: ' + document.title);
  6.             return document.title;
  7.     });
  8. };
clone this paste RAW Paste Data