-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Screenshot() does not save any file in PyAutoGUI 0.9.54 #874
Comments
Same here. I'm fine with using My conda env:
os: macOS 14.4.1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version: PyAutoGUI 0.9.54
The
screenshot
function with thefilename
parameter does not save any file. I have tried using both relative and absolute paths, but the result is the same—no file is saved. There are no warnings or errors indicating a failure to save the screenshot.However, when using the returned Pillow image object, the image can be saved successfully. The current workaround is to manually save the image using the returned object.
Here is a code example demonstrating the issue:
The text was updated successfully, but these errors were encountered: