title: How to resize browser window for screenshots on Testcafe
body: <p>When running a test in Testcafe, I'd like to resize the browser for screenshots.
  As described in https://devexpress.github.io/testcafe/documentation/test-api/actions/resize-window.html#setting-the-window-size, I've tried the following: </p>
  
  <p>(1) <code>"testcafe \"chrome:headless --window-size='width,height'\"</code></p>
  
  <p>(2) <code>await t.resizeWindow(width,height)</code></p>
  
  <p>For some reason, the screenshots dimensions that are returned are twice the size: 2400x1690. Has anyone else encountered this and know how to resolve it?</p>