Hello,
I usually use a simple
Watir::Waiter::wait_until { @browser.div(:class, /
encoding_complete/).exists? }
Works like a charm.
Fred
Le 1 déc. 2009 à 17:25, QAguy a écrit :
> Yup, doing it using a text.include worked. Thanks for the help.
>
> QAguy
>
> On Dec 1, 9:42 am, KimBrown wrote:
Yup, doing it using a text.include worked. Thanks for the help.
QAguy
On Dec 1, 9:42 am, KimBrown wrote:
> http://wiki.openqa.org/display/WTR/How+to+wait+with+Watir
>
> I've used this:
>
> while (not $ie.html.include? "my html")
>
> puts "not there yet ..."
> sleep 5
> end
>
>
http://wiki.openqa.org/display/WTR/How+to+wait+with+Watir
I've used this:
while (not $ie.html.include? "my html")
puts "not there yet ..."
sleep 5
end
You can also use $ie.text.include? & there are probably other ones
too, but that's all I seem to need.
You could also put in a
Why is it invalid? How is the div made invisible? If you look at watir/
contrib/visible.rb, then it checks against css style visibility:
hidden or display: none. Is one of these in use?
Jarmo
On Nov 30, 10:39 pm, QAguy wrote:
> I have this piece of code on a page I am trying to script against.