← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #668673]: FindFailed why?

 

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

RaiMan proposed the following answer:
the magic behind:

exists,click(image)

defines a list with 2 elements (the function object exists (does
nothing) and the result of the function call click(image))

since only the second list element does something, the line works, if
the image exists, but fails if not.

since the list is not assigned, it is simply lost, when the next line is
executed.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.