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)


33
34
35
# File 'lib/selenium/webdriver/common/driver_extensions/has_debugger.rb', line 33

def attach_debugger
  @bridge.attach_debugger
end