← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #243125]: Make sikuli click a random link of a the ones that are found

 

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

obiwan-92 proposed the following answer:
Hello,

To be a little more clear :
import random
l = []
for i in findAll("autoSpectate-1.png"): l.append(i)
click(random.choice(l))

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.