

def click(self, x, y, button=1, n=1):
    'Click a mouse button n times on a given x, y.\n        Button is defined as 1 = left, 2 = right, 3 = middle.\n        '
    for i in range(n):
        self.press(x, y, button)
        self.release(x, y, button)

dataset/ETHPy150Open pepijndevos/PyMouse/pymouse/base.py PyMouseMeta.click/original