The Practice · Guides
How to capture your own website for an audit
The task
Produce a folder of screenshots of your own site at three widths, light and dark, with a manifest, so a review starts from evidence rather than from memory.
Who it is for
An agent, an owner, or a marketing desk with a live site they own and a computer that can run a command line. If you have The Visual Audit, this is its first step; if you do not, the captures are still the right starting point for any review.
Before you start
Node.js installed (version 18 or later). The site's address. A plain text file named pages.txt with one path per line, starting with / (the home page is /). The capture.mjs script from The Visual Audit, in a folder of its own. Fifteen minutes the first time.
Steps
- Open a terminal in the folder that holds
capture.mjsandpages.txt. - Install the browser once:
npm install playwrightand thennpx playwright install chromium. - Run the capture:
node capture.mjs https://your-site.com pages.txt ./pack --dark. The widths default to 1920, 1440, and 390; add--widths=1440,390to change them. - Wait. The script prints one line per page capture and ends with "done: N page captures in ./pack; see MANIFEST.json."
- Open the
packfolder. Files are named<width>-<page>-<nn>.png, with-darkon the dark-mode set;MANIFEST.jsonlists the site, the time, the widths, and every page captured.
How you know it worked
For a four-page site at three widths in both schemes, the manifest lists twenty-four page captures, and the folder holds at least that many images (a long page is cut into one image per screen), and the 390-wide home capture shows the page the way a phone shows it.
What can go wrong
npx playwright install chromium fails on a locked-down computer: run it on another machine, or ask whoever manages the computer to allow the download. A page captures blank: it loads content after the first paint; add --wait=2500. A password-protected page captures the login screen: the script captures what a visitor sees, which is the point; audit the public pages. Questions about your purchase: jake@runthepractice.com.
Next rung
The Visual Audit, $212: the decisions lock, the rubric, and the report that turns the pack into findings.
Revision history
1.0, October 11, 2026, first version, run against the script in the shipped archive.
Educational, not professional advice. Nothing on this page is affiliated with or endorsed by its publisher.

