Learning resourcesReviewed · Anthropic

Use Claude Code with Chrome

This guide helps developers connect Claude Code to their browser for testing and automation, but requires an eligible direct Anthropic plan and account sign-in. It explains browser permissions, authenticated sessions, file uploads and troubleshooting. WSL and organizations with Zero Data Retention enabled for Claude Code cannot use the integration.

Researched 24 Nov 2026

In short.

This guide shows developers how to combine Claude Code coding tasks with browser testing and automation, but requires a direct Anthropic plan and account-based authentication. It documents visible browser actions using existing login sessions, permission controls, uploads, recordings and connection recovery. Organizational restrictions can block access. Runtime reliability, task accuracy and total cost were not assessed.

Researched and written by an AI model and checked by a second AI model. How it works

Coverage is limited to the complete selected page at [https://code.claude.com/docs/en/chrome.md], including its setup instructions, examples, authentication restrictions, permission exceptions, organization notices, upload limits and troubleshooting. Linked pages, the documentation index, extension-store contents, pricing, legal terms and downloadable software were excluded. No installation, browser task, upload, recording or recovery procedure was executed; runtime behavior and outcomes remain unassessed.

The overview

Resource identity

Use Claude Code with Chrome is a documentation guide at [https://code.claude.com/docs/en/chrome.md]. It teaches an existing Claude Code feature rather than supplying a standalone application, downloadable plugin package or code library.

The feature connects Claude Code in the terminal or VS Code to the Claude in Chrome browser extension. The guide covers installation, authentication, permissions, browser tasks and troubleshooting.

Practical assessment

The guide is useful for developers who want to move between editing code and inspecting the resulting website within one assistant session. Its strongest practical detail is the explanation of access requirements and connection failures, including cases where the extension appears installed but authentication or organization settings prevent its use.

It supplies instructions and example tasks, but no measured success rates, timing comparisons or evidence of visual-testing accuracy. Treat its testing and debugging capabilities as documented functionality; their effectiveness on a particular application remains unassessed.

Who it suits

The clearest audience is a Claude Code user building or maintaining web applications. Frontend developers can use the documented workflow to inspect console messages, check form behavior and review rendered interfaces. People doing repetitive browser work may also find the form-filling, data-extraction and authenticated-app examples relevant.

Beginners receive concrete commands and troubleshooting steps, although local-app examples assume a working development server. Teams need to account for browser access policies and organization matching. Users restricted to API credentials, third-party model providers or WSL cannot use the integration under the documented requirements.

Documented capabilities

The page describes reading console errors and page structure, interacting with forms, checking user journeys, reviewing a UI against a design, extracting structured page data and coordinating work across multiple sites. It also describes operating authenticated applications such as document editors through their web interfaces without separate API connectors.

Browser outputs can include screenshots saved to disk and GIF recordings of interactions. Claude Code can attach local files to upload fields, including in remote sessions. These are documented capabilities; no example was executed or independently verified.

Using it

Requirements and eligibility

Requirements are Claude Code, the Claude in Chrome extension version 1.0.36 or later, and a supported browser. The page names Google Chrome and Microsoft Edge and describes extension detection in other Chromium browsers, including Brave, Arc, Vivaldi and Opera. WSL is unsupported.

Access requires a direct Anthropic Pro, Max, Ultra, Team or Enterprise plan and authentication through /login. An API key or a long-lived token generated with claude setup-token leaves the integration disabled, including when --chrome is supplied. Access exclusively through Amazon Bedrock, Google Cloud's Agent Platform or Microsoft Foundry is insufficient; the page says a separate claude.ai account is needed.

The extension and Claude Code must use the same claude.ai account and organization. Managed MCP settings can suppress installation prompts or restrict availability. Zero Data Retention enabled for Claude Code disables this integration regardless of an owner's browser-extension setting or the --chrome flag.

How it works

Claude opens tabs in a visible browser window and uses the browser's existing login state. Tabs it opens are collected into a session-linked group. Login screens and CAPTCHAs require manual intervention. Browser tools appear under the claude-in-chrome MCP entry; initial enablement also installs a native messaging host configuration that the browser reads at startup.

Site permissions control browser actions. The guide describes per-site approval and an option to allow a site's actions for the session. In Auto mode, classifier approval can replace an extension-level site check for that call unless permission rules deny site access. VS Code sessions connected at startup have additional prompts for previously unapproved sites, including in Auto and Bypass modes until @browser is entered in those modes.

Tab cleanup depends on session handling. /clear normally closes the group unless surviving work remains; exiting or switching sessions generally preserves groups containing actual pages. This can leave authenticated pages open after the coding session ends.

Setup and connection

Install and enable the extension from [https://chromewebstore.google.com/detail/claude/fcoeoabgfenejglbffodgkkbkcdhcgfn], confirm eligible account authentication, and start a terminal session with claude --chrome. The first launch presents an introduction to the integration and site permissions. Use /chrome to inspect status, reconnect, manage permissions or choose among connected browsers.

When the extension is missing, an interactive installation prompt can guide setup and resume the same session with browser tools. It also offers deferral and an option to stop future prompts. Organization-managed MCP policies can suppress this prompt.

The default connection setting is shared between the CLI and VS Code. Enabling it loads browser tools automatically; claude --no-chrome disables them for one CLI session. The startup dialog's acceptance or rejection also changes this default. Project settings cannot enable the integration on their own.

If initial detection fails, restart the browser so it reads the native messaging host configuration. For later failures, check /chrome status and reconnect. The page also identifies idle extension workers, mismatched organizations, blocked network access and browser dialogs as possible causes.

Example use

With your development server already running, a suitable first task is: Open localhost:3000, submit the login form with an empty email address, describe the validation message, and check for console errors caused by that submission.

This adapts the guide's local-form and console-debugging examples into a bounded exercise. Inspect the observed page behavior and console output before relying on any proposed code correction. It is a suggested task, not a completed test; no result or successful fix is established.

Assessment & evidence

Limits and failure modes

Authentication, CAPTCHAs and blocking JavaScript dialogs can interrupt automation and require human action. An idle extension service worker can break the connection. Network restrictions involving bridge.claudeusercontent.com, organization mismatches and Windows named-pipe conflicts are additional documented failure causes.

File uploads require permission to read the file and are limited to 10 MB of files in a single upload. Files with multiple hard links are refused. From Claude Code v2.1.293, credential-associated names or directories, including .env, .pem, .key and .ssh locations, are also refused.

Plan mode normally prompts before opening a new tab or recording a GIF, including corresponding batch actions and tab-context calls that create a tab. The guide describes an interactive CLI exception when bypass permissions are available and feature-flag fetching is off. Plan mode therefore does not imply an absence of browser activity.

Logging out of the extension removes its saved shortcuts and scheduled tasks. The page recommends trying other connection fixes first. Reliability on complex sites, extraction completeness and the accuracy of visual-regression judgments remain unknown.

Fit and tradeoffs

The documented advantage is continuity: the same assistant can edit application code, inspect the running page and use browser observations to inform another change. Existing login sessions can also make browser-based work possible without building a separate API integration.

A practical inference is that this suits supervised debugging and occasional authenticated workflows. Manual interruptions, session permissions and connection recovery can affect unattended operation. The page does not establish suitability as a repeatable CI test system or a replacement for automated assertions.

Other approaches

The page points to Claude Code computer use for native macOS applications when a task cannot be completed in a browser. It also notes that the Chrome extension may remain usable outside Claude Code where organization policy allows, even when Claude Code's Zero Data Retention configuration blocks this integration.

The CLI and VS Code offer two interfaces to the same browser integration. The page provides no comparative evidence about dedicated browser-testing frameworks, API integrations or competing assistants, so their relative cost, reliability and suitability are unknown here.

Evidence and confidence

The available evidence is the complete documentation page at [https://code.claude.com/docs/en/chrome.md]. It supports specific statements about documented requirements, commands, permissions, workflows and troubleshooting.

This is vendor documentation, with illustrative prompts rather than independent runtime results. Nothing was installed, connected or executed. Task success, security effectiveness, performance and browser-to-browser consistency were not assessed. Linked documentation, pricing pages and legal materials are outside the available evidence.

Access & freshness

Costs and usage

An eligible direct Anthropic plan is required, but the page gives no subscription prices, included allowances, browser-action rates or separate integration charges. Total cost is unknown from this evidence.

Enabling the browser connection by default increases context usage because browser tools and their instructions remain loaded. The guide suggests connecting only when needed if this consumption becomes noticeable. It provides no quantified context overhead or monetary estimate.

Rights and data considerations

The page supplies no license grant or redistribution terms for the documentation or extension. Commercial-use terms and ownership terms for generated material are not established by this evidence.

Existing browser authentication lets the assistant interact with signed-in applications. GIF recordings capture visible account details as well as the task itself, so the guide advises reviewing them before external sharing. Uploading a file sends its contents from Claude Code to the browser.

For Enterprise organizations with HIPAA enabled, the extension is off by default and an owner can enable it. The page states that Anthropic's Business Associate Agreement does not cover data sent to third-party sites through Claude in Chrome. Detailed data-handling terms are not supplied here.

Version sensitivity

The documentation snapshot was captured on 24 November 2026 at 21:51 UTC. It supplies no explicit publication or last-update date, and the current software release is unknown from this evidence.

Several details depend on Claude Code version. VS Code connects at session startup with the default setting enabled from v2.1.287. Reconnect behavior changed in v2.1.290, and credential-name upload restrictions require v2.1.293. The page also identifies a Windows setup-tab issue before v2.1.211. These are feature-specific thresholds, not evidence that any named version is the latest release.

Practical next steps

First confirm plan eligibility, /login authentication, supported browser and organization policy. Match the extension's account and organization to Claude Code, connect with claude --chrome or /chrome, and inspect connection status before assigning a task.

For an initial evaluation, use a local application with dummy data and a narrow task such as checking one validation message. Compare the assistant's description with the visible page and console output. Review requested site access, uploaded files and recordings before expanding to authenticated business applications.

If connection failures recur, check browser dialogs, /chrome status, extension activation, organization matching and network access. Use reconnect and restart steps before logging out, since logout removes saved extension shortcuts and scheduled tasks.

Evidence for this report

selected-page.txtselected · checked 2026-11-24