What Claude in Chrome is
A Chrome extension connects Claude Code to the browser. The agent opens new tabs and works in a visible window.
The picture shows three participants from left to right: Claude Code in the terminal, the extension and your browser. The agent gives the extension commands (open a tab, click, read the page), and the extension carries them out in the browser where you are already signed in to your services. So the agent does not need to type passwords: your session is already open. The work happens in a visible window, and you can follow the steps.
The tags show which browsers the extension works with. Chrome and Edge are officially supported. Brave, Arc, Vivaldi and Opera are built on the same Chromium engine: Claude Code finds the extension in them and connects. The last tag, “WSL: no”, means this connection does not work in the Windows Subsystem for Linux (WSL).
How to connect
Tell the agent
Install Claude in Chrome and connect it to Claude Code.
If the extension is missing, Claude Code offers to install it: you agree and sign in through the browser. If the agent asks you to do it.
How to do it by hand
Connecting takes three steps. Step 1: install the Claude extension in your Chrome from the extension store, once. Step 2: in the terminal where Claude Code runs, start claude --chrome, and the agent links to the browser. Step 3: type /chrome and look at the status: if it says “Enabled”, the link works.
claude --chrome
/chrome # status, permissions, reconnectExtension in the Chrome Web Store. To skip the flag, open /chrome and turn on “Enabled by default”. The browser tools are then always in context, and token use grows. In VS Code, type @browser in the prompt box to connect the browser; “Enabled by default” is shared by the terminal and VS Code.
If it does not connect
What the agent can do in the browser
In the center of the picture is the browser, and around it four kinds of work the agent does inside it.
First: reading the console and the page, which is how the cause of an error is found. Second: running scenarios and filling forms, which checks that the path works. Third: working with documents under your login, that is with what cannot be opened without signing in. Fourth: extracting data and recording a GIF so that a trace is left for checking. You do not need to write code for every small thing: you state the task in words and the agent finds buttons and fields itself.
Example: a bug on the staging environment
Ticket PAY-142 from the article on QA with an agent: the agent walks the path itself and brings evidence.
Tell the agent
Open the staging environment, add an item to the cart, apply the promo code and pay with a test card. If the payment fails, look at the console and record a GIF of the path.
Next is the example from the QA article: ticket PAY-142 and the agent’s path to a finished result.
The picture shows the path from ticket to result. The ticket reaches the agent, the agent walks through cart, promo code and payment in the browser, finds the error in the console and records a GIF. QA receives not a retelling but a verifiable trace: console text and a recording of movement across the page. If the recording and console do not match the report, it shows at once.
Permissions and risks
The agent works inside your browser, so everything you are signed in to is available to it. The first line of defence in the picture is the list of allowed sites and the permission request on new ones.
On the left of the picture you decide: the agent asks “allow?”. In the center are sites A and B, which you allowed and where the agent works. On the right is site C, closed to the agent. An action on a new site starts with your consent. The rules, one by one: what the agent sees, where it stops and what to look at before sending a recording.
Each of these rules is in the Claude Code documentation. The agent stops at a login and a CAPTCHA. The permission request starts with “Claude in Chrome wants to”. A GIF recording captures everything visible, including account details. alert, confirm and prompt dialogs block commands. The list of sites is set in the extension settings.
Page text can be aimed at the agent. This risk is covered in a separate article.
The price of flexibility: slower than a script and with a risk of error
An agent in the browser works differently from a script or a written program. A script runs the same steps fast and identically. At every step the agent reads the page, thinks and decides what to do next, so it is slower and spends tokens. It can err: click the wrong button or retell what is not on the page, that is hallucinate. In return it copes with a task that cannot be described in code in advance: the page changed, a button moved, the task is stated in words. This is the price of flexibility, and it is better to pay it knowingly.
| Script | Agent in the browser | |
|---|---|---|
| Speed | fast, the same steps | slower: reads and thinks at every step |
| Repeatability | the same result every time | the answer can differ from run to run |
| If the page changed | breaks until it is fixed | adapts, but may err or invent |
| Preparation | code must be written and maintained | describing the task in words is enough |
| Where it fits | mass regular work | one-off work, reconnaissance, unusual pages |
There is also the author’s observation. Services with a reputation for being strict about automation, LinkedIn for example, usually treat an agent in a real browser more calmly than scripts and scrapers: the actions come from your window, under your login, at the pace of a living person. This gives no guarantee. The rules of such services usually forbid automated actions, and the risk of an account ban stays with you. So give the agent what you would do by hand, in small portions and with a check of the result.
Speed, agent errors and how services react are described from the author’s observations: the Claude Code documentation does not cover them.
When you need your own script
Claude in Chrome suits one-off work, but production tasks often need a script of your own.
The script can be connected to the agent through MCP or a skill: the agent asks for the piece of the page it needs instead of opening all of it.
Where to start
The three steps repeat the start of the article: extension, launch, check.
For the first launch take a local or staging environment: if the agent errs, nothing is harmed. First ask it only to read (open a page and retell it), then allow actions. That way you notice the agent’s mistakes on a safe task.