← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #209608]: implicit wait in Sikuli

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
maxWait = 50 # seconds
start = time.time()
wait(some_image, maxWait)
imageWait = time.time()-start
if imageWait < maxWait: wait(maxWait - imageWait)

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