class Selenium::WebDriver::Remote::Bridge

def new_window(type)

Returns:
  • (Hash) - Containing 'handle' with the value of the window handle

Parameters:
  • type (String) -- Supports two values: 'tab' and 'window'.
def new_window(type)
  execute :new_window, {}, {type: type}
end