Module: Selenium::WebDriver::DriverExtensions::HasDebugger Private

Included in:
Safari::Driver
Defined in:
lib/selenium/webdriver/common/driver_extensions/has_debugger.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

#attach_debuggerHash

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.

Attaches debugger to session.

Examples:

driver.attach_debugger
driver.execute_script('debugger')

Returns:

  • (Hash)

35
36
37
# File 'lib/selenium/webdriver/common/driver_extensions/has_debugger.rb', line 35

def attach_debugger
  @bridge.attach_debugger
end