class Capybara::Window
def maximize
@macro about_current
may not support this method.
If a particular driver (e.g. headless driver) doesn't have concept of maximizing it
Maximize window.
#
def maximize wait_for_stable_size { @driver.maximize_window(handle) } end