Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
486 views
in Technique[技术] by (71.8m points)

sikuli - Sikulix - exists() function is not working

I have an application that has a menu like this:

enter image description here

And I am trying to check whether or not that button is active (which means green or white)

The code is something like this

a = exists("1611771556925.png") == True

b = exists(enter image description here) == True

print(a)

print(b)

But the problem here is that I'm getting the falling message:

False
False

Could anyone explain to me what I am doing wrong or why is not working?

question from:https://stackoverflow.com/questions/65926782/sikulix-exists-function-is-not-working

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...