无法识别到其他显示器的图片
test = pyautogui.locateOnScreen("D:\autoRPA\test.png", confidence=0.9, grayscale=True)print(test)
None
要么是真的不存在,如果确定存在,前面加一句time.sleep(1)