sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #49694
Re: [Question #676735]: Chrome: recent changes --- most of my test-pictures no longer useable
Question #676735 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/676735
Status: Open => Answered
masuo proposed the following answer:
@Marc Summers
Document is here.
https://sikulix-2014.readthedocs.io/en/latest/region.html#Region.setFindFailedResponse
[example code1:]
click("image.png")
If "image.png" changed, FindFailed exception will occur at this step.
[example code2:]
setFindFailedResponse(PROMPT)
click("image.png")
In this case, you will be prompted for the way to handle the situation instead of FindFailed exception.
When you select Capture/Skip button, you would allow to recapture the image immediately.
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.