title: PhantomJS does not load the dynamic content of an url
body: <p>I am trying to use PhantomJS to get the html source (actually the title would be enough) of webpages which are dynamically generated, such as this one:</p>
  
  <p><a href="http://www.mouser.com/ProductDetail/Texas-Instruments/LM386N-1-NOPB/?qs=sGAEpiMZZMvu8NZDyZ4K0WQkiHQxR2Zd" rel="nofollow">LM386N-1/NOPB Texas Instruments | Mouse</a></p>
  
  <p>I have tried several scripts that i found on the internet, but none of them would retrieve the proper content (title is empty). Any help or hint would be greatly appreciated.</p>
  
  <p>I have tried something along these lines (with some modifications to output to console):</p>
  
  <pre><code>var page = require('webpage').create();
  page.open('http://google.com', function () {
      console.log(page.content);
      phantom.exit();
  });
  </code></pre>
  
  <p>also this:</p>
  
  <pre><code>var page = require('webpage').create();  
  page.open('http://www.google.com', function (status) {
      if (status !== 'success') {
          console.log('Unable to access network');
      } else {
          var p = page.evaluate(function () {
              return document.getElementsByTagName('html')[0].innerHTML
          });
          console.log(p);
      }
      phantom.exit();
  });
  </code></pre>
  
  <p>also this:</p>
  
  <pre><code>var page = require('webpage').create();
  var fs = require('fs');
  page.open('https://www.somesite.com/page.aspx', function () {
      page.evaluate(function(){
  
      });
  
      page.render('export.png');
      fs.write('1.html', page.content, 'w');
      phantom.exit();
  });
  </code></pre>
  
  <p>also this:</p>
  
  <pre><code>page.open(address, function (status) {
      if (status !== 'success') {
          console.log('Unable to load the address!');
          phantom.exit();
      } else {
          window.setTimeout(function () {
              page.render(output);
              phantom.exit();
          }, 1000); // Change timeout as required to allow sufficient time 
      }
  });
  </code></pre>