title: Changing window size with Selenium used with a Chromium based browser
body: <p>I am using Selenium 2.35.0 to test a Chromium based browser. I am using Chrome driver version 2.43.600233 and set my application name to Chrome and version to 2.43.600233 as recommended in  <br/>https://forum.qt.io/topic/96202/unrecognized-chrome-version-when-using-selenium-python-bindings-and-chromedriver</p>
  <blockquote>
  <p>&quot;I had the same problem, and a way to hack it is to set your QT applicationName and applicationVersion to &quot;Chrome&quot; and &quot;69.0.3497.128&quot;. &quot; <br/></p>
  </blockquote>
  <p>Everything then worked fine. I only ran to an issue when I tried maximizing,minimizing, changing window size of my window using</p>
  <pre><code>driver.manage().window().maximize(); 
  driver.manage().window().setSize(d);
  </code></pre>
  <p>I ran to this error </p>
  <p><strong>{&quot;code&quot;:-32601,&quot;message&quot;:&quot;'Browser.getWindowForTarget' wasn't found&quot;}.</strong></p>
  <p>When I searched for that error,I found this question</p>
  <p><a href="https://stackoverflow.com/questions/51933353/%D0%A1hromedriver-how-to-add-support-of-chromium-based-browsers">Сhromedriver: how to add support of Chromium-based browsers</a></p>
  <p>The answers mentions</p>
  <blockquote>
  <p>I warn you in advance that you should not use the window_size
  parameter, since Chromium does not support it, otherwise we will
  encounter an error:
  [Facebook\WebDriver\Exception\UnknownServerException] unknown error:
  unhandled inspector error:
  {&quot;code&quot;:-32601,&quot;message&quot;:&quot;'Browser.getWindowForTarget' wasn't found&quot;}.</p>
  </blockquote>
  <p>Is there any hack to get over that. I need to test my browser when I do any window resizing.</p>
  <p>Thanks a lot in advance.</p>