class Capybara::Selenium::Driver

def resize_window_to(handle, width, height)

def resize_window_to(handle, width, height)
  within_given_window(handle) do
    browser.manage.window.resize_to(width, height)
  end
end