[Wtr-general] Setting a timeout on ie.goto()?
Charley Baker
charley.baker at gmail.com
Fri Jul 21 18:18:07 EDT 2006
Hey Steve,
Honestly that sounds like a defect. That being said, there is no simple
way that I currently know of to get around waiting for ie to return a ready
state.
-Charley
On 7/21/06, Steve Tangsombatvisit <sbtang1 at hotmail.com> wrote:
>
> Hi folks,
>
> Relatively new to using Ruby/Watir... I have a quick question about the
> ie.goto statement, is there a way to set a timeout for this call so that
> if the webpage does not complete loading with X amount of seconds the call
> terminates?
>
> The problem we're running into is that some of the pages we access
> occasionally NEVER finish loading. On the IE status bar (bottom left) we'll
> see a message that says "Opening Page XXXX" or " (1 Item Remaining) Opening
> Page XXXXX" and that message will persist forever (as far as we can tell)...
> So our scripts are hanging at the ie.goto call cause the page never loads
> completely.
>
> Any tips you guys can give me?
>
> Thanks,
> Steve
>
> _______________________________________________
> Wtr-general mailing list
> Wtr-general at rubyforge.org
> http://rubyforge.org/mailman/listinfo/wtr-general
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/wtr-general/attachments/20060721/6f361740/attachment.html
More information about the Wtr-general
mailing list