3 Ways to Give Claude Access to Your Browser
Claude Code can write code, read files, and run commands. But until recently, it couldn’t see your browser. It couldn’t check if the UI you just shipped actually looks right. It couldn’t read the error in your console. It couldn’t fill out a form to test a workflow.
Now there are three tools that give Claude browser access. They all solve the same problem but in different ways. Here’s how they compare and when to use each one.
1. Claude in Chrome
Claude sees your screen like a person would.
Claude in Chrome is a Chrome extension from Anthropic. It takes screenshots of your browser, understands what it sees, and clicks where it needs to. It works in your real browser with your real login sessions — no setup, no fake accounts.
How it sees the page: Screenshots. Claude literally looks at what’s on screen, reads it visually, and decides what to click. This is why it costs more tokens — images are expensive.
When to use it:
- Testing a UI change you just made — “does this look right?”
- Filling out forms, clicking through workflows
- Anything where you’d normally say “let me show you what I see”
- When you need Claude to use your logged-in sessions (Salesforce, Jira, internal tools)
Setup: Install the Claude in Chrome extension, restart Claude Code, run /chrome to connect.
Good to know:
- Works with any web app you’re already logged into
- Can record GIFs of what it does
- Requires a Claude Max plan
- Higher token cost because of screenshots
2. Playwright MCP
Claude clicks and types for you — without looking at the screen.
Playwright is Microsoft’s browser automation tool. The Playwright MCP server lets Claude control a browser programmatically. Instead of taking screenshots, it reads the page structure as text. It knows there’s a button called “Sign in” without needing to see it.
How it sees the page: Accessibility tree. Playwright reads the page like a screen reader would — headings, buttons, inputs, links, all as structured text. No images, no screenshots. This makes it fast and cheap on tokens.
When to use it:
- Testing flows (login, checkout, form submission)
- Scraping data from a page
- Automating repetitive browser tasks
- When you don’t need your logged-in sessions
Setup: Add the Playwright MCP server to your Claude Code config. It opens a fresh browser each time.
Good to know:
- Works with Chrome, Firefox, and WebKit
- Opens a clean browser — no saved passwords, no cookies
- Free and open source
- Lower token cost than Claude in Chrome
3. Chrome DevTools MCP
Claude reads error messages from the browser.
Chrome DevTools MCP gives Claude access to the same developer tools panel that engineers use to debug websites. It can read error messages, check network requests, and find performance problems that you can’t see on the page itself.
How it sees the page: Raw browser data. Console logs, network requests, performance metrics, memory usage. It sees what’s happening under the hood, not what’s on screen.
When to use it:
- Finding errors that don’t show up visually
- Debugging slow page loads
- Checking if API calls are failing
- Performance optimization
Setup: Add the Chrome DevTools MCP server to your config. It connects to your running Chrome instance.
Good to know:
- Reads console errors, network requests, and performance data
- Can simulate slow connections and throttled CPUs
- Connects to your running Chrome — keeps your sessions
- Lower token cost (text only, no images)
Which One Should You Use?
Start with Claude in Chrome if you’re not sure. It’s the most intuitive — Claude sees what you see. If you’re testing a UI, checking a layout, or need Claude to interact with a logged-in app, this is the one.
Use Playwright when you want Claude to automate browser tasks or test flows without your login sessions. It’s faster, cheaper, and works across browsers.
Use DevTools when something is broken and you can’t see why. The page looks fine but the API is failing silently, or the page is slow and you need to know what’s causing it.
You can use all three in the same project. They solve different problems.

