Class: Capybara::Selenium::Driver
- Inherits:
-
Object
- Object
- Capybara::Selenium::Driver
- Defined in:
- lib/extensions/capybara-extensions.rb
Overview
Cookie utility methods
Instance Method Summary collapse
- #add_cookie(attribs) ⇒ Object
- #cookie_named(name) ⇒ Object
- #cookies ⇒ Object
- #delete_all_cookies ⇒ Object
- #delete_cookie(cookie) ⇒ Object
- #delete_cookies_in_domain(domain) ⇒ Object
Instance Method Details
#add_cookie(attribs) ⇒ Object
23 24 25 |
# File 'lib/extensions/capybara-extensions.rb', line 23 def (attribs) browser.manage.(attribs) end |
#cookie_named(name) ⇒ Object
11 12 13 |
# File 'lib/extensions/capybara-extensions.rb', line 11 def (name) browser.manage.(name) end |
#cookies ⇒ Object
7 8 9 |
# File 'lib/extensions/capybara-extensions.rb', line 7 def browser.manage. end |
#delete_all_cookies ⇒ Object
19 20 21 |
# File 'lib/extensions/capybara-extensions.rb', line 19 def browser.manage. end |
#delete_cookie(cookie) ⇒ Object
15 16 17 |
# File 'lib/extensions/capybara-extensions.rb', line 15 def () browser.manage.() end |
#delete_cookies_in_domain(domain) ⇒ Object
27 28 29 |
# File 'lib/extensions/capybara-extensions.rb', line 27 def (domain) browser.manage.(domain) end |