← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #231929]: after while exists, take long time to continue

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
 ... because after the click() the while exists() is again executed and
does not find img1 anymore, but waits 20 secs for it.

While exists(img1,20):
  If exists(img1):
     Click(img2)
     break # step out of the while loop here
Click (exists(img3,100))
Click (exists(img4,100))

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