title: Watin to download webpage loaded by javascript
body: <p>I am trying to download a webpage (printer web portal) with Watin but all I get is </p>
  
  <pre><code>&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"&gt;
  &lt;HTML lang="en"&gt;
  &lt;HEAD&gt;
  &lt;TITLE&gt;&lt;/TITLE&gt;
  &lt;meta http-equiv="Expires" content="0"&gt;
  &lt;meta http-equiv="Pragma" content="no-cache"&gt;
  &lt;meta http-equiv="Content-Type" content="text/html;charset=UTF-8"&gt;
  &lt;meta content="text/javascript" http-equiv="Content-Script-Type"&gt;
  &lt;link rel="stylesheet" type="text/css" href="default.css"&gt;
  &lt;script type="text/javascript" src="init.js"&gt;&lt;/script&gt;
  &lt;noscript&gt;
  &lt;meta http-equiv="refresh" content="0; URL=js_error.xml"&gt;
  &lt;/noscript&gt;
  &lt;/HEAD&gt;
  &lt;BODY BGCOLOR="#ffffff" LINK="#000000" ALINK="#ff0000" VLINK="#000000" onload="init();location.replace('./system.xml');"&gt;
  &lt;/BODY&gt;
  &lt;/HTML&gt;
  </code></pre>
  
  <p>Even when I go to "View Page Source" in Firefox or IE, I don't get the "full" HTML.  However, Firebug  shows the full HTML.</p>
  
  <p>Seems that the HTML is loaded by javascript afterwards, but how do I obtain this data?</p>