← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #253737]: Find

 

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

    Status: Open => Answered

Eugene S proposed the following answer:
Hi,

When using "exists":
1. You can specify the wait time (in seconds)
2. None is returned, if nothing is found within the specified waiting time
3. Does exactly the same as Region.wait(), but no exception is raised in case of FindFailed

When using "find":
1. FindFailed exception is returned if nothing was found
2. If autoWaitTimeout is set to a non-zero value, find() just acts as a wait()


All that described in the doco, you can find here:
http://doc.sikuli.org/region.html#Region.exists
http://doc.sikuli.org/region.html#Region.find


Cheers,
Eugene

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.