pre><code>G:\Src&gt;phantomjs Tests\run-qunit.js http://localhost:30025/TestCanvasCode.html
&#39;waitFor()&#39; finished in 233ms.
Tests completed in 141 milliseconds.
44 assertions of 58 passed, 14 failed.</code></pre>
<p>Here is the home page for PhantomJs and a related tool called CasperJs:</p>
<ul>
<li><a href="http://phantomjs.org/">http://phantomjs.org/</a></li>
<li><a href="http://casperjs.org/">http://casperjs.org/</a></li>
</ul>
<p>References:</p>
<ul>
<li><a href="https://gist.github.com/gmarik/13