sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #56037
Re: [Question #693707]: Problem with mouse clicks on images
Question #693707 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/693707
Manfred Hampl proposed the following answer:
Another possible reason for you problem:
region.click() does a mouse click in the center of the region. In case
that your button is outside the center of the region, your click may be
outside the button.
Try
if region.exists(button):
region.getLastMatch().click()
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.