using multiple images in click, wait and find with OR

Asked by Kavin

Can I use multiple images in click, wait and find with OR like below?

wait("img1.png" or "img2.png",5)
click("img1.png" or "img2.png")

f = find("img1.png" or "img2.png")
click(f)

Question information

Language:
English Edit question
Status:
Answered
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
RaiMan (raimund-hocke) said (last edit ):
#2

Can you help with this problem?

Provide an answer of your own, or ask Kavin for more information if necessary.

To post a message you must log in.