Module: Selenium::WebDriver::DriverExtensions::HasBrowserConnection Private

Defined in:
lib/selenium/webdriver/common/driver_extensions/has_browser_connection.rb

This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.

Instance Method Summary collapse

Instance Method Details

#online=(bool) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



10
11
12
# File 'lib/selenium/webdriver/common/driver_extensions/has_browser_connection.rb', line 10

def online=(bool)
  @bridge.setBrowserOnline bool
end

#online?Boolean

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns:

  • (Boolean)


6
7
8
# File 'lib/selenium/webdriver/common/driver_extensions/has_browser_connection.rb', line 6

def online?
  @bridge.isBrowserOnline
end