Is that a new method? It doesn't seem to be in 1.4.1.

Anyway, I did figure out an acceptable solution to my problem. I only needed
to check the cookie while debugging my script, so I just inserted a debug
clause, like so:

  $debug = true

  if $debug
    ie.goto("javascript:document.cookie")
    sleep 2
    exit
  end

-sean

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bret Pettichord
Sent: Friday, September 16, 2005 10:07 AM
To: [email protected]
Subject: Re: [Wtr-general] Multiple IE instances and session state

At 10:27 AM 9/16/2005, Sean Gallagher wrote:
>Can anyone give me some advice? Does anyone have a snippet of code that
>checks session cookies? I would like to confirm state somehow from inside
my
>test.

You can access the cookie object using
   ie.ie.cookie

Bret

_____________________
  Bret Pettichord
  www.pettichord.com

_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to