Bret proposed the following syntax or method names via Google Wave, so we
should stick to this:

Browser#cookies (get cookies as ruby array of hashes)

Browser#add_cookie(opts) where opts is a hash of :name, :value, :path,
:secure and :name/:value will raise ArgumentError if not supplied

Browser#remove_cookie(opts) where opts is a hash of :domain and :name

Browser#remove_all_cookies or Browser#remove_cookie(:all)?


Thanks,

Angrez


On Wed, Nov 18, 2009 at 10:16 PM, aidy lewis <[email protected]>wrote:

>
> Ethan
>
> 2009/11/18 aidy lewis <[email protected]>:
> > Going to put the URI in, for #read_cookies or something
> >
> > 2009/11/18 Ethan <[email protected]>:
> >> That seems to be lacking the URI to set the cookie on. Would the method
> just
> >> infer that from the current location of the browser, or should that be
> be
> >> configurable by the user?
>
> I was lazily reading. I think the default will be the current uri
> unless specified.
>
> WDYT?
>
> Aidy
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to [email protected]
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---

Reply via email to