← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #199842]: What is the most efficient way to wait for an image to appear or vanish?

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
If you are sure the image will ever come or vanish:

wait("image.png", FOREVER)

or

waitVanish("image.png", FOREVER)

If the expected situation does not come, the script will loop forever.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.