sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #43968
Re: [Question #658728]: How to work around an occasional image
Question #658728 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/658728
Status: Open => Answered
masuo proposed the following answer:
Try this codes.
def handler1_5(event):
click(event.getMatch())
event.stopObserver()
r1 = Region(100,100,300,300)
r1.highlight(1)
r1.onAppear("image1_5.png", handler1_5)
r1.observe(FOREVER,True)
r1.wait("image1.png", FOREVER)
r1.click()
r1.wait("image2.png", FOREVER)
r1.click()
r1.stopObserver()
popup("Click [OK] to finish")
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.