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
Instance Method Details
#add_cookie(attribs) ⇒ Object
75 76 77 |
# File 'lib/monkey-patches/capybara-patches.rb', line 75 def (attribs) driver.(attribs) end |
#cookie_named(name) ⇒ Hash?
Get the cookie with the given name
63 64 65 |
# File 'lib/monkey-patches/capybara-patches.rb', line 63 def (name) driver.(name) end |
#cookies ⇒ Array<Hash>
Get all cookies
53 54 55 |
# File 'lib/monkey-patches/capybara-patches.rb', line 53 def driver. end |
#delete_all_cookies ⇒ Object
71 72 73 |
# File 'lib/monkey-patches/capybara-patches.rb', line 71 def driver. end |
#delete_cookie(cookie) ⇒ Object
67 68 69 |
# File 'lib/monkey-patches/capybara-patches.rb', line 67 def () driver.() end |