Aidy,

Celerity currently has:

   - Browser#cookies (get cookies as ruby array of hashes)
   - Browser#add_cookie(domain, name, value, opts = {}) where opts can be
   :path, :expires, :secure
   - Browser#remove_cookie(domain, name)


So for getting cookie for a domain we can have something like cookies(domain
name), so if domain name is supplied it will get cookies only for that
domain else all the cookies. Let me know if that is fine.

Thanks,
Angrez


On Fri, Nov 20, 2009 at 2:38 PM, ! Tony ! <[email protected]> wrote:

> Hi Aidy,
>
> Sure, would love to work on this.
>
> Thanks,
> Tony
>
>
> On Thu, Nov 19, 2009 at 11:43 PM, aidy lewis <[email protected]>wrote:
>
>> >From Angrez sometime this week:
>>
>> > 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)?
>>
>>
>> 1. OK, but what about getting the cookies from a specific domain?
>> 2. What are we to do with Celerity and Jarib's implementation?
>> 3. Tony has already done a load of stuff here;
>> http://jira.openqa.org/browse/WTR-264 (Tony shall we work on this
>> together?)
>>
>> Aidy
>> _______________________________________________
>> Wtr-development mailing list
>> [email protected]
>> http://rubyforge.org/mailman/listinfo/wtr-development
>>
>
>
> _______________________________________________
> Wtr-development mailing list
> [email protected]
> http://rubyforge.org/mailman/listinfo/wtr-development
>
_______________________________________________
Wtr-development mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-development

Reply via email to