← Back to team overview

sikuli-driver team mailing list archive

[Question #162030]: is there any "OnError" method in sikuli?

 

New question #162030 on Sikuli:
https://answers.launchpad.net/sikuli/+question/162030

is there any "On Error"-handler or some function which acts like this?

for example i use the following script:
if exists(img):
>>>hover(img)
>>>click(img)
else:
something else

my problem is, that the image is there, but disapears from time to time so the script fails in these cases.
how can i make the script continue on those errors?

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