It will be good if you add:
sleep(3) in your script.

Thanks.
Wesley Chen.


On Wed, Jul 8, 2009 at 4:10 AM, Brautigam Gergely <[email protected]>wrote:

> Hi Ray!
>
> Try the wait_until function.
>
> It's in the Waitr::Waiter class.
>
> --- On *Tue, 7/7/09, Ray <[email protected]>* wrote:
>
>
> From: Ray <[email protected]>
> Subject: [wtr-general] Wait for frame to load
> To: "Watir General" <[email protected]>
> Date: Tuesday, July 7, 2009, 6:14 PM
>
>
> Is there anyway to tell watir to wait for a frame to load? My
> situation is that i am filling out a form and when the form is
> submitted i need to wait for the frame on another page to load before
> continuing the script. Right now i am using sleeps but it would be
> very helpful to wait on the frame so i could make it work for any
> frame at any amount of load time.
>
> Thanks
>
> Ray
>
> >
>

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

Reply via email to