Class: ShowMeTheCookies::Culerity
- Inherits:
-
Object
- Object
- ShowMeTheCookies::Culerity
- Defined in:
- lib/show_me_the_cookies/culerity.rb
Instance Method Summary collapse
- #delete_cookie(cookie_name) ⇒ Object
-
#initialize(driver) ⇒ Culerity
constructor
A new instance of Culerity.
- #show_me_the_cookies ⇒ Object
Constructor Details
#initialize(driver) ⇒ Culerity
Returns a new instance of Culerity.
2 3 4 |
# File 'lib/show_me_the_cookies/culerity.rb', line 2 def initialize(driver) @browser = driver.browser end |
Instance Method Details
#delete_cookie(cookie_name) ⇒ Object
10 11 12 |
# File 'lib/show_me_the_cookies/culerity.rb', line 10 def () @browser.('localhost', ) end |
#show_me_the_cookies ⇒ Object
6 7 8 |
# File 'lib/show_me_the_cookies/culerity.rb', line 6 def @browser..send_remote(:inspect) end |