Place a while loop (i would suggest not infinite) and then use
$browser.text.include? 'llama'  and code the sleep interval in the
loop along with it as well.

From

Karim Rayani

On Wed, Sep 16, 2009 at 8:18 AM, dk <dkora...@gmail.com> wrote:
>
> Thanks a lot Zeljko ! worked just fine. Wonder why i didnt think of
> trying "link" :)
>
> One more question though:
>
> After the click, since it is not a page refresh - but an ajax call, i
> am waiting for some text to show up on page. How do i instruct Watir
> to wait for it before executing the next step?
> >
>



-- 
Regards,

Alkarim Rayani

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---

Reply via email to