Hi Steven,

I checked it again. :text attribute is supported by link element. You can
access link element using :text. Please refer to the unit tests for more
details.

If it still doesn't work out, you can post the HTML and FireWatir code here.

Regards,
Angrez


On 2/6/07, Paul Carvalho <[EMAIL PROTECTED]> wrote:

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

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

Reply via email to