← Back to team overview

sikuli-driver team mailing list archive

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.