Claude Code

Chrome and computer use

Browser integration, macOS computer use, permissions, safety boundaries, caching, and Passion8 limitations.

CapabilityTargetUse
Chrome integrationChrome/Edge tabsWeb testing, forms, console, signed-in pages
Computer usemacOS applicationsNative apps, simulators, GUI-only tools

These broad interfaces are slower and more sensitive than structured tools. Prefer API/MCP, then shell, then browser, and finally desktop control.

#Chrome integration

The Claude in Chrome extension connects tabs, reading, clicking, typing, console inspection, screenshots, and recording to Claude Code.

claude --chrome

In-session:

/chrome
UseExample
Local app testsOpen localhost:3000, submit a form, inspect errors
Console debuggingInspect errors, warnings, network failures
Design checksLayout, spacing, responsive behavior
Signed-in websitesExisting Gmail, Notion, Docs sessions
ExtractionSave structured page data as CSV
DemonstrationsRecord an interaction GIF

#Chrome requirements

ItemRequirement
BrowserChrome or Edge
ExtensionClaude in Chrome
CLIA supported recent version
AccountSupported direct Anthropic plan
Unsupported combinationsBrave, Arc, WSL, provider-only setups where excluded

In plan mode, reads can proceed without confirmation; state-changing actions such as navigation, clicks, typing, tabs, and saving screenshots require appropriate approval.

#Computer use

The built-in MCP server lets Claude operate macOS applications and inspect the screen.

TaskExample
Native application validationBuild Swift app and exercise tabs
Electron/onboardingWalk the flow and capture errors
Visual reproductionResize until a modal clips, then repair CSS
SimulatorsExercise iOS onboarding
GUI-only toolsDevice panels, design software, internal desktop apps

Enable it:

  1. Open /mcp in an interactive session.
  2. Enable computer-use.
  3. Grant macOS Accessibility and Screen Recording when requested.
  4. Approve each application when first controlled in the session.

This controls the real desktop, not a Bash sandbox. Terminal, IDE, Finder, and System Settings deserve particular care; grant access only for the intended task.

#Boundaries

MechanismEffect
Per-app approvalOnly approved applications are controllable
High-risk app warningsExtra notice for terminal/IDE/files/system settings
Own terminal excludedAvoids feeding the agent's terminal output back as screen content
Global Esc stopStop the current action
Single-session lockOne controlling session per machine

Browser and transaction applications can have stricter controls. Payments, deletions, messages, and form submissions should have an explicit plan and authorization.

#Passion8 limitations

These are supported official-account integrations, not generic model-gateway features.

ScenarioResult
Passion8 URL/token onlyDo not assume official browser/desktop tools become available
Also signed in to claude.aiCheck feature eligibility and actual request routing separately
Local web verificationUse Playwright, browser MCP, or manual screenshots
Organization disabled toolsLocal settings cannot override policy

For ordinary responsive checks, use browser developer tools, Playwright, or a phone on the local network rather than enabling desktop control unnecessarily.

#Context and caching

ActionEffect
Start with --chromeLoads browser definitions; prefix differs from an ordinary session
Screenshots, DOM, consoleAdds tool output to history
Recording/large logsCan expand context significantly
Desktop screenshotsImage input adds cost versus plain text
Return to shellDoes not remove observations already in history

Use browser tools where needed, then preserve concise findings instead of entire DOM/log dumps.

#Troubleshooting

ProblemAction
Extension not connectedEnable it, restart browser, reconnect with /chrome
Browser unresponsiveDismiss blocking alert/confirm/prompt dialogs
Receiving end does not existReconnect a sleeping extension worker
computer-use missingCheck macOS, plan, CLI version, interactive mode
Repeated macOS promptsRestart terminal/Claude after granting screen access
Another session holds lockExit the other controlling session

#Official references

Support

Need help?

For setup, billing, or model issues, email us. Check the status page for uptime.

WeChat / QQ support is available at the bottom right.