← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #678325]: If it Can't Find, Closes Early

 

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

RaiMan proposed the following answer:
while True:
    If has(Image):
        click() # clicks last match 
        waitVanish(Image)
    wait(1)

This will forever click the image when it comes up and then wait until
the image vanishes

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