title: Take screenshot from Karma while running tests in PhantomJS 2?
body: <p>I need a way to take a screenshot during a test which uses QUnit and Karma to run inside PhantomJS 2.0.1</p>
  
  <p>I've found this command:</p>
  
  <pre><code>window.top.callPhantom('render');
  </code></pre>
  
  <p>That doesn't throw any error but doesn't seem to work, or at least, I don't know where to look for the taken screenshot.</p>
  
  <p>Any clue?</p>