← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #658728]: How to work around an occasional image

 

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

Roman Podolyan proposed the following answer:
I think you better not use onAppear / observe() for this purpose. They
are expected to wait for image until it appears (that is like wait for
image1 until it appears, not paying any attention if image2 and image3
are on screen now). Function try_click() does not wait, it just clicks
image if it is present now and does nothing if the image is not present.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.