← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #680728]: Is there any wait until available in Sikuli

 

Question #680728 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/680728

    Status: Open => Answered

Manfred Hampl proposed the following answer:
If you want to wait for the "waitForMoment" image to disappear, and if this might take up to an hour, then a wait time of 15 seconds does not really help.
There is an optional second parameter to waitVanish, being the maximum wait time.
Maybe something like
window.waitVanish(waitForMoment, FOREVER);
works as desired (eventually experiment also with different values for scan rate, or try TestMechanic's recommendation in comment #2)

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.