Before you start

Use Vercel’s Agent Browser CLI against a local site you control. The example pins the November 25 release so the same review can be repeated.

What you’ll make
Two PNGs and a short launch QA note.
What you’ll need
Node.js, npm, disk space for Chromium, and a running local preview.

Step by step

  1. Set up a local capture project

    Check the release and installation docs. Install the cited release as a dev dependency. Run the browser installer after reviewing the download; if it asks for system packages, stop and review that separately.

  2. Capture in one session

    Create an out directory. Open your local preview in the workflow-lab session. Use the exact preview port. Set the viewport to 390×844 and capture mobile.png, then repeat at 1440×900 for desktop.png.

  3. Look at the screenshots

    Check whether the first headline wraps cleanly, the primary button remains visible, images load and the page is free of horizontal overflow. If a cookie banner appears, note it instead of dismissing it to hide the launch issue.

  4. Write a handoff note

    Record the two dimensions, URL, date, and any visible issue with its screenshot filename. Close the named session when done.

Commands

npm install --save-dev --save-exact agent-browser@0.45.0
npx agent-browser install
# Create out/ and replace PORT with the local preview port.
npx agent-browser --session workflow-lab open http://127.0.0.1:PORT/
npx agent-browser --session workflow-lab set viewport 390 844
npx agent-browser --session workflow-lab screenshot out/mobile.png
npx agent-browser --session workflow-lab set viewport 1440 900
npx agent-browser --session workflow-lab screenshot out/desktop.png
npx agent-browser --session workflow-lab close

Sign-in & permissions

The browser installer fetches Chrome. The example uses only your own local page and a fresh browser session; it needs no account, existing browser profile, uploads or form submissions.

Agent Browser publishes an agent skill separately. You can complete this workflow with the CLI alone; the optional skill install is in the official README.

Prompt for your agent

Use with: Coding agent with a terminal and its own localhost preview

Copy the whole prompt into a supported agent. After any manual step, tell the same agent to continue from that step.

Use a clean project folder for this workflow: Capture mobile and desktop QA for a launch. Supported setup: Coding agent with a terminal and its own localhost preview. Start from the original documentation: https://agent-browser.dev/installation.

1. SET UP
Install the pinned CLI in the project, then ask before downloading Chromium or installing system dependencies. No extra agent skill is needed for the CLI path.

Documented commands or code reference (respect the comments and replace placeholders before running individual commands):
npm install --save-dev --save-exact agent-browser@0.45.0
npx agent-browser install
# Create out/ and replace PORT with the local preview port.
npx agent-browser --session workflow-lab open http://127.0.0.1:PORT/
npx agent-browser --session workflow-lab set viewport 390 844
npx agent-browser --session workflow-lab screenshot out/mobile.png
npx agent-browser --session workflow-lab set viewport 1440 900
npx agent-browser --session workflow-lab screenshot out/desktop.png
npx agent-browser --session workflow-lab close

2. PAUSE FOR ME IF NEEDED
For a host install, sign-in, permission screen, or model download that needs my consent, stop and tell me the exact app, control and what will be authorized. Do not enter passwords, OTPs or secrets in chat. Resume after I confirm.

3. BUILD THE FIRST RESULT
Use Agent Browser https://github.com/vercel-labs/agent-browser in a fresh browser session only. Ask for my local preview URL and do not open any other site. Capture 390×844 and 1440×900 viewport PNGs. Inspect the headline, primary CTA, visible imagery, and horizontal overflow. Write qa.md with screenshot paths, dimensions, and concrete issues. Do not change the site or use a signed-in profile.

4. CHECK THE RESULT
Inspect the two PNGs for correct dimensions, visibly loaded assets, and horizontal overflow. Give me the actual file paths and anything that still needs a manual action. Do not publish or make a purchase.

Sources