sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #23827
[Question #243125]: Make sikuli click a random link of a the ones that are found
New question #243125 on Sikuli:
https://answers.launchpad.net/sikuli/+question/243125
I need sikuli to choose randomly from its image recognition findings, how is that possible?
My code in this case is:
exists("autoSpectate.png",9999) # Wait for Spectate
click("autoSpectate-1.png") # Click on Spectate
There are normally a few "Spectate"s, but it mostly clicks on the same one.
Is there a possiblility to make it randomized intentionally?
Thanks!
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.