Snapflow vs Playwright or Puppeteer screenshot scripts
Screenshot scripts retake help center screenshots on every release until a redesign breaks their selectors. What they cost to keep, and when they still win.
4 min read
On this page
When a team with engineers decides its help center screenshots should update themselves, the first idea is usually a script: Playwright or Puppeteer, one script per screenshot, run on every release. It works, and it's free. This page is about what it costs to keep it working, and where it's still the better choice.
What does a screenshot script do?
The same steps a person does, written as code. A script per screenshot signs in, opens the page, clicks to get the screen into the state the article shows, and saves the picture. In Playwright the last step looks like this:
await page.goto("https://app.example.com/settings");
await page.getByRole("link", { name: "Notifications" }).click();
await page.screenshot({
path: "notifications.png",
animations: "disabled",
mask: [page.getByTestId("account-email")],
});
Playwright's page.screenshot can crop to a region, capture the full page, stop animations and hide the text cursor. Its mask option covers the elements you list with a solid box, pink unless you set maskColor, which keeps private data out. Puppeteer takes screenshots too, but has no mask option: hiding data is up to the script. Neither puts the new image into your help center; that's another piece of code, against your help center's API.
This is browser automation, usually in a headless browser, and it's the same tooling many teams already use for end-to-end tests.
Why do screenshot scripts break?
Mostly the selectors. A script finds what to click by a CSS class, a test ID or the text on a button. When a deploy renames a class, moves a menu or changes a label, the script can't find its way and fails, or worse, captures the wrong screen.
How often that happens depends on the size of the front-end team. With two or three front-end engineers who know the scripts exist, selectors can be kept stable. With a bigger team shipping every day, someone will change one without knowing a screenshot depends on it, and the larger the team, the more often it happens.
The rest wears down more slowly:
- Logins expire. Playwright reuses a saved sign-in, and its docs say plainly that you need to delete the stored state when it expires. Two-factor and single sign-on aren't covered at all; they're up to you.
- Test data drifts. The account the scripts sign in to slowly fills with leftovers, and screenshots start showing them.
- Failures are quiet. When a script fails, the old screenshot stays in the article. Unless someone reads the CI log, nobody knows that screenshot stopped updating.
Who uses screenshot scripts?
Teams that prefer to build things in house, and teams whose docs live in Git next to the code (docs-as-code). For the first, it often ends the same way: a growing set of internal support tools to maintain, taking engineering time away from the product itself.
What does Snapflow do differently?
There's no script and no selector. Snapflow reads each article in your help center, works out what its screenshots show from the text and the old image, and finds each screen in your product the way a person following the article would. When a menu moves or a button is renamed, it finds it again from what the article says. When it can't, it tells you why, instead of keeping the old image quietly.
It signs in with a demo account, hides the elements you've marked as private, adds your arrows and frame, and holds each new screenshot next to the live one for review. Each has a permanent image address, so the article updates without another upload. On the Scale plan, your release pipeline can start a retake through the API, the way it would run a script.
Snapflow vs screenshot scripts at a glance
| Snapflow | Playwright or Puppeteer scripts | |
|---|---|---|
| Best for | Keeping a whole help center current without engineering time | A few stable screens, owned by engineers |
| Set up per screenshot | Nothing: it starts from the article | A script, written by a developer |
| After a redesign | Finds the screen again from the article | Selectors break; scripts are fixed by hand |
| When one can't be taken | Tells you why | Fails in CI; the old image stays |
| Private data | Hides the elements you choose | Playwright masks what each script lists |
| Into the article | Permanent image address, or straight into Intercom and Zendesk | More code, against your help center's API |
| Cost | $79 a month for 500 screenshots | Free, plus the engineering time |
Feature by feature
| Feature | Snapflow | Scripts |
|---|---|---|
| Keeping your help center current | ||
| Retakes screenshots on its own when the product changes | YesAfter each release or on a schedule | YesEach time the scripts run, in CI or on a schedule |
| Nothing to record for each screenshot | YesWorks out each one from the article | NoA script per screenshot, written by a developer |
| Keeps working after a redesign, with nothing to fix | YesFinds the screen again from the article | NoChanged selectors break the scripts |
| Updates the images in the articles you already have | YesAdded once, by a permanent address | PartlyOnly if someone codes the upload |
| Setup and privacy | ||
| Nothing to install | YesNeeds a demo account, nothing else | NoCode, browsers and somewhere to run them |
| Keeps private data out of screenshots automatically | YesHides the elements you choose, on every retake | PartlyPlaywright masks the elements a script lists |
| Making new guides | ||
| Turns a recording into a step-by-step guide | NoWorks on articles that already exist | No |
| More on Playwright or Puppeteer scripts | ||
| Free to use | No$79 a month for 500 screenshots | YesOpen source; you pay in engineering time |
| Reaches screens behind single sign-on or two-factor | NoUsername and password demo accounts | PartlyIf someone codes and keeps up the login |
| Runs from your release pipeline | YesThrough the API, on Scale | Yes |
| Someone outside engineering can run and fix it | Yes | No |
Checked on each tool’s own site on
When are scripts the better choice?
When the screens are few and stable and engineers already own the docs, especially docs that live in Git. When screenshots sit behind single sign-on or two-factor, which Snapflow can't sign in to yet. And when you already run end-to-end tests with visual regression testing, where the browser setup and logins exist and a few screenshots for the docs ride along.
Past a few dozen screenshots, or with a front-end team big enough that selectors change without warning, the scripts become a product of their own. The guide to automating help center screenshots compares every way of doing it, and Snapflow vs LaunchBrightly the other tool built for it, which also relies on selectors.
How many of my screenshots are out of date?
The free audit dates every screenshot in your help center and lists the articles edited after their screenshots were taken. About five minutes, no account.
Questions
Can Playwright take screenshots for documentation?
Yes. A script signs in, opens the page, sets up the screen and calls page.screenshot, which can crop to an element, turn off animations and mask elements with a solid box. It works well for a few stable screens. Every script is code someone has to keep working as the product changes.
Why do screenshot scripts break?
Mostly because the selectors they use change. A renamed class, a moved button or a new layout means the script can't find what it clicks, and it fails or captures the wrong screen. Logins expire too: Playwright's own docs say a saved sign-in has to be deleted when it expires.
Is Snapflow built on Playwright?
Snapflow drives a real browser, like a script does, but nobody writes or maintains a script. An AI agent reads each article, works out which screen its screenshot shows and finds it in your product the way a person following the article would.
See how old your help center's screenshots are
Free scan no account results in about five minutes
Summarize with AI