Zhengyi Xu
Results
2
comments of
Zhengyi Xu
> @benykatz1 `location = pyautogui.locateOnScreen(screenshot_path, confidence=0.8) # ` `if location:` ` center = pyautogui.center(location)` ` pyautogui.click(center)` `else:` ` print("Can't find location")` > > screenshot_path is cloudflare checkbox image like this...
I'm using python 3.12 and Win11