Browser automation using Claude in Chrome MCP. Navigate pages, click, type, fill forms, read console logs, manage tabs, and record GIFs. Must be connected at all times.
Use the claude-in-chrome MCP for all browser automation. This MCP must be connected at all times.
The claude-in-chrome MCP must be connected. To verify:
/chrome to check connection statusclaude --chrome or run /chrome and select "Enabled by default"Claude in Chrome provides these tools (run /mcp → claude-in-chrome to see full list):
| Capability | Description |
|---|---|
| Navigate | Go to URLs, follow links |
| Click | Click buttons, links, elements |
| Type | Enter text in inputs, forms |
| Scroll | Scroll pages and containers |
| Read console | View console logs, errors, network requests |
| Manage tabs | Create, switch, close tabs |
| Resize window | Change viewport dimensions |
| Record GIFs | Capture interaction sequences |
Open localhost:5173, try submitting the login form with invalid data,
and check if the error messages appear correctly.
Open the dashboard page at localhost:5173/dashboard and check the
console for any errors when the page loads.
Open localhost:5173/company/AAPL and verify the layout matches
the design - check that the header, sidebar, and main content
areas are positioned correctly.
Go to localhost:5173/screener, try adding filters with edge case
values, and verify the validation works correctly.
Open the screener page and extract all company tickers and their
current prices from the table. List them in a summary.
Test the complete user flow: go to the homepage, click on a company
in the 52-week lows list, verify the company page loads, then
navigate back using the browser back button.
Record a GIF showing how to use the filter bar on the screener page -
demonstrate adding a filter, changing values, and clearing it.
claude --version/chrome → "Reconnect extension"This happens when Claude Desktop and Claude Code CLI compete for the Chrome extension. The native messaging host config points to Claude Desktop instead of Claude Code.
Fix: Run this command to update the config:
cat > ~/Library/Application\ Support/Google/Chrome/NativeMessagingHosts/com.anthropic.claude_browser_extension.json << 'EOF'
{
"name": "com.anthropic.claude_browser_extension",
"description": "Claude Browser Extension Native Host",
"path": "/Users/jo/.claude/chrome/chrome-native-host",
"type": "stdio",
"allowed_origins": [
"chrome-extension://dihbgbndebgnbjfmelmegjepbnkhlgni/",
"chrome-extension://fcoeoabgfenejglbffodgkkbkcdhcgfn/",
"chrome-extension://dngcpimnedloihjnnfngkgjoidhnaolf/"
]
}
EOF
Then restart Chrome completely (Cmd+Q, then reopen).
Note: If you update Claude Desktop, it may overwrite this config. Rerun the fix if needed. See GitHub issue #20298 for updates.
Site permissions are inherited from the Chrome extension. Manage in Chrome extension settings.
Since claude-in-chrome uses your actual browser session: