sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #12112
[Question #204156]: setFindFailedResponse(PROMPT)
New question #204156 on Sikuli:
https://answers.launchpad.net/sikuli/+question/204156
Hi folks,
im having a problem with the setFindFailedResponse(PROMPT)...actually i think is a bug.
here is my simplified code:
setThrowException(True)
setFindFailedResponse(PROMPT)
if find(Pattern("test.png").similar(0.97)):
print 'found'
else:
print 'not found'
so, when Sikuli not found the image, the prompt appears with no image.....but only when i set the ".similar(x)"...other way, it appears normally
thanks
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.