Screenshot in Streamlit

Has anyone been able to create a button that takes a screenshot of the their current app?

1 Like

Hey @swohlman,

Unfortunately, I haven’t heard of a great way to accomplish this. One way that you might be able to take a screenshot of the app programmatically is via Selenium’s get_screenshot_as_file method.

I have successfully implemented an initial version, as posted here:
Streamlit Screenshots

Feel free to reach out or provide any feedback!