Selenium::WebDriver::Options
Get the cookie with the given name
@param [String] name the name of the cookie @return [Hash, nil] the cookie, or nil if it wasn't found.
# File lib/selenium/webdriver/common/w3c_options.rb, line 29 def cookie_named(name) convert_cookie(@bridge.cookie(name)) end
Delete all cookies
# File lib/selenium/webdriver/common/w3c_options.rb, line 37 def delete_all_cookies @bridge.delete_all_cookies end