title: How to resize current browser window in Selenium WebDriver with PHP?
body: <p>When I try </p>
  
  <pre><code>$this-&gt;size(array('width' =&gt; 960, 'height' =&gt; 400));
  </code></pre>
  
  <p>I get "BadMethodCallException: The command 'size' is not existent or not supported yet."</p>
  
  <p>I've also tried this</p>
  
  <pre><code>$win = $this-&gt;window("")-&gt;size(array('width' =&gt; 960, 'height' =&gt; 400));
  </code></pre>
  
  <p>but that just gets me a null object.</p>