← 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

Description changed to:
My code basically looks like:
wait("image1", FOREVER)
click("image1)
wait("image2", FOREVER)
click("image2")


Sometimes there is an "image1.5" or a known image at a random time.

What is the best way to work through this?

Can you show me an example of how to use an "if", "onAppear", "while
exists" etc. or whatever is most appropriate?

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