sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #36895
Re: [Question #286271]: setFindFailedResponse(PROMPT) affects exists()
Question #286271 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/286271
Status: Open => Answered
RaiMan proposed the following answer:
exists() by design does not raise the FF-exception, but catches it
internally.
In case of not found it returns Java-null (Python-None, which is False)
and the match, if successful.
so setFindFailedResponse(PROMPT) should only affect the behavior of
search features, that raise FF-exception (find, wait, ...)
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.