Alternatives to running your own browser
Playwright, Puppeteer, Selenium and html2canvas can all produce a screenshot. The question is never whether they can - it is who maintains the browser underneath, and what happens at 3am when it stops being able to start one.
Instead of Playwright
Same engine, none of the hosting. What you give up and what you stop operating.
Instead of Puppeteer
The Node default. Where the API is a straight swap and where it is not.
Instead of Selenium
Built for testing, pressed into screenshots. Why the fit is awkward.
Instead of html2canvas
It re-draws the DOM rather than photographing it, which is why the output differs.
What you actually stop maintaining
The library is the easy part. What costs you is everything holding it up:
- The browser binary and the forty-odd system libraries it needs.
- A container image big enough to carry them, rebuilt on every patch.
- Long-running Chromium's memory and process behaviour. Ours tried to teach us this one in November: a container with no init collected dead Chromium helpers for nine days until nothing in it could fork.
- Concurrency limits, queueing and what happens when they are exceeded.
- Fonts and emoji - the usual reason a screenshot renders boxes on a server and fine on your laptop.
When running it yourself is the right answer
Three cases, honestly:
- You already run browsers. If Playwright is in your CI for end-to-end tests, adding a screenshot to that suite costs you nothing extra.
- The pages cannot leave your network. No hosted API can capture an internal URL it cannot reach, and that is a feature of the firewall, not a limitation to work around.
- You need the session, not the picture. Multi-step flows, intercepted requests, injected state - that is automation, and a capture endpoint is the wrong shape for it.
The API wins in the opposite case: screenshots are a side feature, nobody owns the browser, and the person who set it up has moved on.
The same engine either way
We run Chromium through Playwright, so a capture here renders the same as a capture from your own Playwright - the difference is operational, not visual. Start with the screenshot API, or read Puppeteer vs Playwright if you are still choosing between them for the self-hosted route.
Frequently asked questions
Is a hosted API always better than Playwright?
No, and the three cases above are when it is not. We would rather say so than sell you something you do not need.
What do I stop maintaining?
The binary, its libraries, the image, the memory behaviour, the concurrency limits and the font packs. The list above is not hypothetical.
Can I try it against a page that already breaks for me?
Yes, with no account - paste it into the free screenshot tool.
Test it on the page that breaks
No account, no card. If it fails here too, at least you know.
Open the free screenshot tool