This lesson introduces Vercel's agent-browser library as a faster, more reliable alternative to the Chrome integration for browser testing with Claude Code. You'll learn how it works under the hood — it's CLI-based, headless by default, and uses a snapshot-ref pattern that assigns IDs to interactive elements rather than analyzing the full page visually. This makes it significantly faster and more token-efficient than firing up a real browser.
After a quick walkthrough of installation and adding the agent-browser skill to your project, you'll watch a live demo where Claude builds a confetti celebration effect on the to-do list app, then uses agent-browser to navigate the app, interact with it, capture screenshots of the confetti in action, and record a video of the whole flow. The result is shareable visual proof artifacts — screenshots and video files — that confirm the feature works without anyone needing to manually test it. This is especially valuable on teams where code reviewers can see exactly what was built without recreating the environment themselves.
Topics covered:
Created by Brian Casel (that's me) — multi-time founder, product designer, teacher, and the creator behind Builder Methods.