asweigart / pyautogui

A cross-platform GUI automation Python module for human beings. Used to programmatically control the mouse & keyboard.
BSD 3-Clause "New" or "Revised" License
10.5k stars 1.27k forks source link

Getting "None" instead of ImageNotFoundError exception #757

Open gsnunes47 opened 1 year ago

gsnunes47 commented 1 year ago

I'm working on a function to put a browser in fullscreen, but when the script can't find the image instead of getting the exception it just displays None and keep going...