Class: Capybara::Session
- Inherits:
-
Object
- Object
- Capybara::Session
- Defined in:
- lib/monkey-patches/capybara-patches.rb
Instance Method Summary collapse
- #add_cookie(attribs) ⇒ Object
-
#cookie_named(name) ⇒ Hash?
Get the cookie with the given name.
-
#cookies ⇒ Array<Hash>
Get all cookies.
- #delete_all_cookies ⇒ Object
- #delete_cookie(cookie) ⇒ Object
- #delete_cookies_in_domain(domain) ⇒ Object
Instance Method Details
#add_cookie(attribs) ⇒ Object
81 82 83 |
# File 'lib/monkey-patches/capybara-patches.rb', line 81 def (attribs) driver.(attribs) end |
#cookie_named(name) ⇒ Hash?
Get the cookie with the given name
69 70 71 |
# File 'lib/monkey-patches/capybara-patches.rb', line 69 def (name) driver.(name) end |
#cookies ⇒ Array<Hash>
Get all cookies
59 60 61 |
# File 'lib/monkey-patches/capybara-patches.rb', line 59 def driver. end |
#delete_all_cookies ⇒ Object
77 78 79 |
# File 'lib/monkey-patches/capybara-patches.rb', line 77 def driver. end |
#delete_cookie(cookie) ⇒ Object
73 74 75 |
# File 'lib/monkey-patches/capybara-patches.rb', line 73 def () driver.() end |
#delete_cookies_in_domain(domain) ⇒ Object
85 86 87 |
# File 'lib/monkey-patches/capybara-patches.rb', line 85 def (domain) driver.(domain) end |