sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #13274
Re: [Question #209152]: To find a image which is left of a image
Question #209152 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/209152
Status: Open => Answered
RaiMan proposed the following answer:
Have you switched off FindFailed exceptions?
Since find() cannot return None (it should fail if not found).
so try it the other way:
a=find(imga)
if a: click(a.left(50).find(imgb))
else: print "imga not found"; exit()
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.