Top 200 ReposEXPLORER
Browse agents, categories and pages
Back to results
Planned, not doneThe source describes an intention, not a finished result.

Diagnose Frontend UI Bugs with a Browser Agent

Overview

Pair Claude Code with Claude in Chrome so Claude can open your app in the browser, read console errors, network requests and DOM state behind a UI bug, then fix the code and check the page again.

Problem or Objective

More in Coding and Code Review

AI Agents and Models

Tools and Integrations

Tools
Claude in Chrome · Claude Code · Google Chrome
Prerequisites
A paid Claude plan (Pro, Max, Ultra, Team or Enterprise; on Enterprise an owner must enable Claude in Chrome), the Chrome extension, Claude Code, and your app running on a URL the browser can reach.

How It Works

Install the Claude in Chrome extension and start your app locally or on a test URL the browser can reach. In Claude Code, describe the bug the way a user sees it, for example a button that does nothing or a list that renders empty, and ask Claude to reproduce it in Chrome. Have it read the browser console output, the failing network requests and the DOM state around the element, and report what it thinks the cause is before touching any code. Once you agree with the diagnosis, ask Claude Code to make the smallest fix in the source, approve the edits, and reload the page in Chrome to confirm the error is gone and nothing else broke. Ask it to add a test that would have caught the bug, then review the diff and commit it yourself.

Implementation Workflow

Steps assembled from the agents, tools and prompt of this entry. Adapt them to your own setup.

  1. Choose the agentSet up Claude in Chrome, Claude Code.
  2. Connect the toolsConnect the tools this workflow relies on: Claude in Chrome, Claude Code, Google Chrome.
  3. Check the prerequisitesA paid Claude plan (Pro, Max, Ultra, Team or Enterprise; on Enterprise an owner must enable Claude in Chrome), the Chrome extension, Claude Code, and your app running on a URL the browser can reach.
  4. Gather your detailsCollect what the prompt asks for: Local or test URL, What the user sees, Where on the page, Frontend source folder.
  5. Run the starter promptPaste the starter prompt below into Claude in Chrome and adapt it to your case.
  6. Check against the documentationCompare what you get with the documentation at support.claude.com before you rely on it.

Practical Starter Prompt: Reproduce and fix this UI bug

Fill the fields to adapt the prompt. Empty fields stay as visible [placeholders].

Preview
Open [Local or test URL] in Chrome and reproduce this bug: [What the user sees]. Read the console errors, the failing network requests and the DOM around [Where on the page], and tell me the likely cause before changing any code. After I agree, make the smallest fix in [Frontend source folder], ask before each edit, reload the page to confirm the bug is gone, and add a test that would have caught it. Do not commit or deploy; I will review the diff.

Agree with the diagnosis before any edit, approve each change, and review the diff and the new test before committing it yourself.

Expected Results and Benefits

This is a suggested workflow, not a reported result. The points below are what the cited documentation says the tools can do.

This is a suggested workflow, not a reported outcome. Anthropic's help page describes Claude Code and the Chrome extension working together to build, test and verify, with Claude reading errors, network requests and DOM state directly, and names live debugging as a good fit. It gives no figures on how often fixes are right, so judge each fix by the reloaded page and the test.

Limitations and Considerations

Point it at a local or test environment, not production, and avoid pages with real customer data. The side panel starts in an automatically approve mode that pauses when something needs your approval; check the permissions guide and choose stricter settings if you prefer. Prompt injection on web pages is a known risk. Claude in Chrome is on paid plans (Pro, Max, Ultra, Team and Enterprise); on Enterprise an owner must enable it. Results depend on your setup and were not independently reproduced by Top 200 Repos.

GitHub Repositories

AI Agent Repository

Source code of the agent that does the work.

Related Videos

About anthropics/claude-code

About anthropics/claude-code

Independent creators. Listing a video implies no endorsement, sponsorship or partnership.

Sources

  1. Get started with Claude in Chrome | Claude Help Center (opens in a new tab)

    Project documentation · support.claude.com · Undated · Source checked 26 Nov 2026, 17:27 UTC

    What this source supports
    • Claude Code and the Chrome extension work together for a build-test-verify workflow: build with Claude Code, then test and verify in the browser with the extension.
    • Claude can read browser console output, including errors, network requests and DOM state, which helps developers identify and debug issues without leaving the browser.
    • The side panel starts in Automatically approve mode: Claude works continuously, reviews each action for safety, and pauses to ask you when something needs your approval.
    • Claude in Chrome is available on paid plans (Pro, Max, Ultra, Team and Enterprise); on Enterprise plans an owner must enable it.
  2. Piloting Claude in Chrome | Claude by Anthropic (opens in a new tab)

    Vendor post · claude.com · Undated · Source checked 26 Nov 2026, 17:27 UTC

    What this source supports
    • Build in your terminal, verify in your browser, and debug with Claude reading console errors and DOM state directly.
Report a problem

More with Claude in Chrome

Planned, not done

Schedule a Library of Short Videos in Creator Studio

Upload your finished short videos to YouTube Studio as private drafts, approve a schedule table, then let Claude in Chrome fill each draft's title, description and publish time to match it.

support.claude.com
Planned, not done

Arrange Travel and Find Restaurant Reservations

Use Claude in Chrome to compare flights and hotels for a work trip on the booking sites you use, check restaurant availability for a team dinner, and hand you a shortlist; every booking waits for your go-ahead.

claude.com
Planned, not done

Prepare a Hotel Comparison Spreadsheet from Browser Searches

Use Claude in Chrome to read hotel search results you have open, pull price, location, rating and amenities into a spreadsheet, and save the prompt as a shortcut for the next trip.

support.claude.com

View all: Claude in Chrome