class Selenium::WebDriver::Remote::Bridge
def maximize_window(handle = :current)
def maximize_window(handle = :current) unless handle == :current raise Error::UnsupportedOperationError, 'Switch to desired window before changing its size' end execute :maximize_window end