sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #50214
Re: [Question #677985]: Wait for object to be displayed
Question #677985 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/677985
Status: Open => Answered
Manfred Hampl proposed the following answer:
My guess:
Your code is:
wait(Pattern("1548143854795.png").similar(0.7),30000).
click("1548143854795.png")
The wait statement looks for an image with similarity of 70% (which
probably exists), but the click statement requires 100% similarity
(which probably is not there).
Suggestion: try with click() without parameters or click(getLastMatch())
or click(Pattern("1548143854795.png").similar(0.7))
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.