Method: Selenium::WebDriver::Options#delete_cookie

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

Delete the cookie with the given name

Parameters:

  • name (String)

    the name of the cookie to delete



58
59
60
# File 'lib/selenium/webdriver/common/options.rb', line 58

def delete_cookie(name)
  @bridge.deleteCookie name
end