← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #669205]: Sikuli not able to distinguish between these 2 images

 

Question #669205 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/669205

    Status: Open => Answered

RaiMan proposed the following answer:
this should work:

if exists(Pattern("OK_Correct.png").similar(0.99)):
    click(getLastMatch()) # or simply click() with version 1.1.2+
else:
     print("Error")

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