title: setSize() doesn't work to set browser size in selenium using Javascript
body: <p>I'm trying to resize browser window after launching with below javascript</p>
  
  <pre><code>driver.get(url);
  driver.manage().window().setSize(1200,800);
  </code></pre>
  
  <p>However, I'm getting an error</p>
  
  <blockquote>
    <p>'setSize is not a function\n'.</p>
  </blockquote>
  
  <p>Could someone please help me in resolving the issue, I have tried <code>reSizeTo()</code> as well</p>