I try to avoid icky double negatives.  Does the following line work for you
instead?

sleep 0.5 until $browser.link(:text, "Withdraw").exists?



On 05/02/07, steven <[EMAIL PROTECTED]> wrote:

The following code only seems to work if $browser = ie.new, and not
firefox.new (i.e. with Firewatir).  Am I missing something or is this a
known issue?

while not ($browser.link(:text,"Withdraw").exists?)
   sleep 0.5
end

To clarify, when I mean does not work, I mean, it never catches the link
as existing, even though it is there.  It just stays in the sleep command
over and over.

Thanks,
Steve

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

Reply via email to