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.

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to