sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #01576
Re: [Question #147387]: Problem using while iteration
Question #147387 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/147387
Status: Open => Answered
RaiMan proposed the following answer:
find() cannot be used in this case, since it stops if the image is not
found() (see FAQ 1437)
while not exists(img1.png):
sleep(1)
click(img2.png)
click(img1.png)
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.