← Back to team overview

sikuli-driver team mailing list archive

[Question #687686]: Random click region (no images)

 

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

Trying to basically click randomly within the "r" region - there are no images to look for
Tried this from another topic but it doesn't seem to click within the specified region:

import random
r = Region(246,444,153,113)
locx = int(r.w * random.random())
locy = int(r.h * random.random())
click(Location(locx, locy))

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