[Wtr-general] [Watir] What to do with hanging $ie.goto()

Durk Strooisma durk at kern.nl
Sat Dec 17 10:43:18 EST 2005


> On 12/15/05, Durk Strooisma <durk at kern.nl> wrote:
>>
>> Before I start to develop a very hackerish work-around, I'm wondering
>> if more people encounter problems with hanging "goto"-statements in
>> Ruby/Watir.
>> If so, how do you handle these issues?
>
>
> Try ie.ie.navigate(url) instead.

Right now, I "solved" my problem by inheriting the IE class and overruling
the goto method. The new goto method accepts a flag that determines if the
"wait()" statement has to be processed. So with this troublesome website I
don't let the goto method wait, but in stead handle the waiting myself after
the execution of the new goto method.

Durk





More information about the Wtr-general mailing list