Re: [Wtr-general] unknown property or method `readyState'

2007-04-18 Thread Bach Le
Hi Charley, I just installed 1165 today and I have noticed the same error that was mentioned in this thread. The error revolves around the following piece of code: documents_to_wait_for = [EMAIL PROTECTED] while doc = documents_to_wait_for.shift until doc.readyState ==

Re: [Wtr-general] Verifying Values of Cookies

2007-04-18 Thread Charley Baker
Hi Gary, This will grab the cookies and put them into an array: require 'watir' include Watir ie = IE.start('http://www.yahoo.com') arr = ie.document.cookie.split(';') # multiple cookies are separated by ;s arr.each {|a| puts a.to_s} -Charley On 4/17/07, Gary [EMAIL PROTECTED] wrote: