Method: Selenium::WebDriver::Driver#visible=

Defined in:
lib/selenium/webdriver/common/driver.rb

#visible=(bool) ⇒ Object

Set the visibility of the browser. Not applicable for all browsers.

Parameters:

  • (Boolean)


147
148
149
# File 'lib/selenium/webdriver/common/driver.rb', line 147

def visible=(bool)
  bridge.setBrowserVisible bool
end