title: Set Jenkins Windows Slave Screen Resolution For Selenium Tests
body: <p>I got a Jenkins windows 7 slave for testing my UI webapp using Selenium WebDriver (<em>java, with Firefox and chrome drivers; machine is vmware vm</em>).
  Also, slave is connected to jenkins master using JNLP agent.</p>
  
  <p><strong>Problem is</strong>: Tests fail on slave, since resolution seems to be 800x600 whereas I need 1920x1080-ish.</p>
  
  <p>Setting selenium web driver windows size won't do it, i.e.</p>
  
  <pre><code>    driver.manage().window().setSize(new Dimension(1920, 1080));
      driver.manage().window().maximize();
  </code></pre>
  
  <p>Any ideas? I'm trying to figure out where display resolution configuration should be done. Should it be done on JVM side (as test is execute by jenkins slave)? Or is it a windows issue?</p>