I am running my pyautogui script successfully from my computer (local host)
But when my app get accessed from other computer in my local area network
I got this error
OSError: screen grab failed
It looks like that it can not find the Capture.PNG located on my server
What is wrong with my script?
Here is my script
def clickit(): clicked = pyautogui.locateCenterOnScreen('Capture.PNG') pyautogui.click(clicked)