import pyautogui import time pyautogui.moveTo(1370, 397) for i in range(150): pyautogui.click() time.sleep(2.5)