Method: Capybara::Window#fullscreen

Defined in:
lib/capybara/window.rb

#fullscreenObject

Fullscreen window.

If a particular driver doesn't have concept of fullscreen it may not support this method.

If this method was called for window that is not current, then after calling this method current window should remain the same as it was before calling this method.



111
112
113
# File 'lib/capybara/window.rb', line 111

def fullscreen
  @driver.fullscreen_window(handle)
end