Test local web apps and fix errors in one session
Claude Code with Claude in Chrome writes code, opens localhost, clicks through the UI, reads console errors and fixes them without the developer touching the browser.
Done withClaude CodeClaude in Chrome
- What they did
- The Claude in Chrome extension is connected to Claude Code with `claude --chrome` or `/chrome`. It shares the developer's real Chrome session, including logins, and new domains need approval once. Asked to add a dashboard table filter, Claude wrote the component, opened the page and tried the filter. It spotted that the URL query params weren't updating, fixed the router logic, and confirmed the fix with a reload.
- How it went
- The filter example took three iterations with no browser work from the developers. The setup is limited to a developer's own workstation: it needs a visible Chrome window, so no CI or headless runs, and it works in Chrome and Edge only.
- Worth knowing
- Browser interaction uses a lot of tokens, about 7.7% of context per interaction. The authors call API pricing a money pit and say a Max subscription is needed for heavy use.
Try it yourself with Claude Code
Start my app locally with [start command], then open it in Chrome at [localhost URL] and click through [feature or flow]. Read the browser console and network errors, find the cause in the code, and fix it. Repeat until the flow works with no console errors. Then summarize what you changed. Don't commit or push anything without asking me.
Want help getting this working? Join the Vibe Coding Academy ↗ Run by Alex Finn, who also runs this site.
5 more accounts of this
- Test web apps in your logged-in Chrome from the terminal · paddo.dev ↗
- Run a manual QA plan on a local app with a browser agent · tgvashworth.com ↗
- Have Claude test and fix a web app in Chrome · Reddit ↗
- Run manual QA test plans in the browser · tgvashworth.substack.com ↗
- Test web pages in a real browser and fix errors · eseospace.com ↗
Source: test-lab.ai · Undated
Related use cases
Turn tickets into merged pull requests
Pulls tasks from GitHub Issues or Linear, then runs Claude Code or Codex in isolated Kubernetes pods to carry each one through to a PR.
Plan meals and track symptoms with Claude Code
Claude Code plans meals, tracks nutrition and analyzes symptoms, scraping recipe nutrition data via the USDA API and storing it.
Run a markdown second brain
A commenter uses Claude Code daily to answer questions, retrieve docs, create files and reorganize a markdown knowledge base synced with git and viewable in Obsidian.
Build a C compiler with a team of parallel agents
Anthropic's engineering write-up on tasking Opus 4.6 agent teams with building a C compiler.
Build and deploy a meeting app from a prompt
A user had Replit Agent create a meeting app with dashboard, logic and analytics, and deploy it live without manual code changes.
Review agent work plans and track user intent logs
A developer logs every user message to distill intent and has agents review saved plan files against project constraints before executing work.
Custom agent
Get 5 like this every morning
The best things people got an AI agent to do, each with the prompt to try it.