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

Defined in:
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)

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

def attach_debugger
  @bridge.attach_debugger
end