← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #661266]: Diff Between find and Exists and which method is efficient

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
find() throws exception, which must be catched for decisions how to proceed.
exists() returns null or a Match object and as such can be used as in your example.

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