Selenium Javascript generated HTML incomplete, even with document.body.innerHTML : <p>I am trying to get the HTML from a webpage that is modified by javascript after/while loading.  I have followed the instructions in <a href="http://stanford.edu/~mgorkove/cgi-bin/rpython_tutorials/Scraping_a_Webpage_Rendered_by_Javascript_Using_Python.php" rel="nofollow noreferrer">this tutorial</a>. and I'm using command like this in my Python code after initially loading the page</p>

<pre><code>html = browser.execute_script("return document.body.innerHTML")
</code></pre>

<p>While this seems to get all of the HTML Selenium elements on other pages I've tried this on, it does not seem to work on <a href="https://www.azdot.gov/business/ContractsandSpecifications/PrequalifiedContractors/LegacyApplications/CNS/contractor_list.asp" rel="nofollow noreferrer">this page</a>.  If you open that page and inspect the HTML you can see all of the HTML has loaded.  I want to capture the elements below, but can't.  By the way <a href="https://stackoverflow.com/questions/15623388/using-selenium-with-python-to-extract-javascript-generated-html-firebug">WebDriverWait</a> doesn't seem to work either...</p>

<pre><code>&lt;b&gt;
  &lt;a href="contractor_list.asp?alpha=A"&gt;A&amp;nbsp;&lt;/a&gt;
  &lt;a href="contractor_list.asp?alpha=B"&gt;B&amp;nbsp;&lt;/a&gt;
  &lt;a href="contractor_list.asp?alpha=C"&gt;C&amp;nbsp;&lt;/a&gt;
  &lt;a href="contractor_list.asp?alpha=D"&gt;D&amp;nbsp;&lt;/a&gt;
  ...
</code></pre>

<p><strong>How can I get Selenium to expose those elements to me so I can access them?  Or, should I be using a different tool for this?</strong></p>
