New question #207549 on Sikuli:
https://answers.launchpad.net/sikuli/+question/207549
I have clicked on a random image using the below code.
m=wait("Image name")
x = random.randint(0,m.w)-int(m.w/2)
print x
y = random.randint(0,m.y)-int(m.y/2)
print y
#target=m.getCenter().right(x).below(y)
target=m.getCenter().offset(x,y)
print target
click(target)
I need to verify that the required image has been clicked successfully, how can
I do this?
Please do the needful.
Thanks,
Siv
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.
_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help : https://help.launchpad.net/ListHelp