Forums

How can I develop a tool for capturing webpage using Python?

I want to develop a tool to capture screenshots of web pages using Python when a URL is given. And I would like to deploy it in the cloud like AWS and run. So, it should run like a Flask app and should save screenshot images on that server without opening any browser.

Can we develop it if the server doesn't have any chrome or other browsers installed on it?

I think it should be possible -- at least headless Chrome has this feature (see: https://developers.google.com/web/updates/2017/04/headless-chrome#screenshots, if you try it on PA the command is chromium, not chrome).

If you want to make screenshots on domains that are not on our whitelist, you need to upgrade to a paid account.