← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #403202]: Wait function in sikulix IDE

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
ok, the usual way to test such situations is as follows:

... supposing img.png is the image that gets visible and then we wait
for it to vanish:

if exists("img.png"):
    highlight() 
    waitVanish("img.png", 60)
else:
    print "img.png did not appear within 3 seconds"
    exit()

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