Method: Capybara::Webkit::Driver#resize_window

Defined in:
lib/capybara/webkit/driver.rb

#resize_window(width, height) ⇒ Object


122
123
124
125
126
# File 'lib/capybara/webkit/driver.rb', line 122

def resize_window(width, height)
  warn '[DEPRECATION] Capybara::Webkit::Driver#resize_window ' \
    'is deprecated. Please use Capybara::Window#resize_to instead.'
  resize_window_to(current_window_handle, width, height)
end