Question #252546 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/252546
Jonas Maurer proposed the following answer:
use
match = exists(image.png)
if match:
click(match)
this code will search for the image, and if found, click on it's
location immediately without searching twice.
(do not use exceptions to solve this. It is very bad practice.)
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.
_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help : https://help.launchpad.net/ListHelp