← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #250725]: [how to program it]Wait for a image 5 sec if appear do some action or after 5sec do some other task

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
if exists(image, 5):
    click() 
else:
    exit(1)

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