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

I want sikuli to click on OK if it looks like https://pasteboard.co/HlIH9xP.png 
and print "Error" if it looks like https://pasteboard.co/HlIHtFh.png. Sikuli is 
not able to differentiate between the 2 images. What should I do?

//code
if exists("OK_Correct.png"):
    click("OK_Correct.png")
else:
     print("Error")

It is trying to click on the image even when the 2nd image is there.

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

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to