Method: Selenium::WebDriver::Network#remove_handler

Defined in:
lib/selenium/webdriver/common/network.rb

#remove_handler(id) ⇒ Object

[View source]

37
38
39
40
41
# File 'lib/selenium/webdriver/common/network.rb', line 37

def remove_handler(id)
  intercept = callbacks[id]
  network.remove_intercept(intercept['intercept'])
  callbacks.delete(id)
end