There's not an execution control variable, but instead of sleep which is
unreliable, the best bet when using Watir 1.5 is to use the wait_until
method.
For example,
do something
....
wait_until{ ie.button(:value, 'Click Me').exists?) # poll for some
control to show up with defaults of timeout:60 seconds, poll every .5
seconds
hth,
Charley
On 3/11/07, Jason He <[EMAIL PROTECTED]> wrote:
Dear all,
Does watir/ruby provide a global configuration variable which could used
to change the speed of execution, rather than add many "sleep" in each
scripts.
Regards,
Jason
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general