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

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

Instance Method Summary collapse

Instance Method Details

#attach_debuggerHash

Attaches debugger to session.

Examples:

driver.attach_debugger
driver.execute_script('debugger')

Returns:

  • (Hash)


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

def attach_debugger
  @bridge.attach_debugger
end