Method: Celerity::Browser#cookies
- Defined in:
- lib/celerity/browser.rb
#cookies ⇒ Hash<domain, Hash<name, value>>
Get the cookies for this session. (Celerity only)
333 334 335 336 337 338 339 340 341 342 |
# File 'lib/celerity/browser.rb', line 333 def result = Hash.new { |hash, key| hash[key] = {} } = @webclient.getCookieManager.getCookies .each do || result[.getDomain][.getName] = .getValue end result end |