I have been using WATIR to verify the contents of the cookies our
application sets in IE for quite awhile now. I am looking to expand
this to firefox, but I am not sure if it is possible.

Here is my basic code for splitting the cookies on IE into an array.:

$ie = IE.start('http://my.site.net/tc1.html')
 arr = $ie.document.cookie.split(';')   # multiple cookies are
separated by ;

Any idea how I would do this in firefox?

Once it's into an array I can work with it fine.

Thanks for your help.

--~--~---------~--~----~------------~-------~--~----~
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