import pyautogui pyautogui.rightClick(x=1168, y=449) pyautogui.click(1006,401) pyautogui.click(x=892,y=401, interval = 1)