Class: Selenium::WebDriver::W3COptions
- Defined in:
- lib/selenium/webdriver/common/w3c_options.rb
Instance Method Summary collapse
-
#cookie_named(name) ⇒ Hash?
Get the cookie with the given name.
-
#delete_all_cookies ⇒ Object
Delete all cookies.
Methods inherited from Options
#add_cookie, #all_cookies, #delete_cookie, #initialize, #logs, #timeouts, #window
Constructor Details
This class inherits a constructor from Selenium::WebDriver::Options
Instance Method Details
#cookie_named(name) ⇒ Hash?
Get the cookie with the given name
31 32 33 |
# File 'lib/selenium/webdriver/common/w3c_options.rb', line 31 def (name) (@bridge.(name)) end |
#delete_all_cookies ⇒ Object
Delete all cookies
39 40 41 |
# File 'lib/selenium/webdriver/common/w3c_options.rb', line 39 def @bridge. end |