sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #24936
Re: [Question #245849]: exists() but cannot click()
Question #245849 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/245849
Status: Open => Answered
RaiMan proposed the following answer:
Generally one should use a match, that was found before, instead of
searching again.
while exists(image, 60):
click() # will click the match found by exists
wait(image1, 30)
click()
Your problem might be caused by timing: it takes rather long to search
the whole. So the target might have vanished again or changed a bit on
the screen (too much background in the shot ??)
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.