title: Resizing the window in Capybara with rack_test
body: <p>I'm using <code>rack_test</code> as my driver for Capybara and I'm trying to resize the window. </p>
  
  <p>The best example I could find on this was <a href="https://gist.github.com/Integralist/8999306#file-features-support-env-rb-L157" rel="nofollow">this gist</a>, but the <code>resize</code> method does not seem to work for <code>rack_test</code></p>
  
  <pre><code>&gt; Capybara.current_driver
  =&gt; :rack_test
  
  &gt; page.driver.resize(200, 200)
  NoMethodError: undefined method `resize' for #&lt;Capybara::RackTest::Driver:0x007fe4eb83bc60&gt;
  from (pry):22:in `block (2 levels) in &lt;top (required)&gt;'
  </code></pre>
  
  <p>I've tried various other combinations I've seen online with no luck. Is there an easier way to resize the browser window?</p>
  
  <p>Thanks!</p>