# Browser profiles

> The built-in openclaw, user, and chrome profiles, the Control UI Browser panel, and Browser handoff (Take control)

- 网址：https://funcoding.ai/agents/openclaw/tools/browser/profiles/
- 来源：OpenClaw 官方文档原文（英文），MIT 许可，同步于 2026-11-29
- 官方原文：https://docs.openclaw.ai/zh-CN/tools/browser/profiles

---
- `openclaw`: managed, isolated browser (no extension required).
- `user`: built-in Chrome DevTools MCP attach profile for your **real
  signed-in Chrome** session. Chrome shows a blocking "Allow remote debugging?"
  prompt the first time OpenClaw attaches, so someone must be at the computer.
- `chrome`: built-in [Chrome extension](https://funcoding.ai/agents/openclaw/tools/chrome-extension/) profile for
  your **real signed-in Chrome** session. Works from a phone with nobody at the
  desk because it drives tabs through the OpenClaw browser extension instead of
  the remote-debugging port, so there is no "Allow remote debugging?" prompt.

For agent browser tool calls:

- Default: use the isolated `openclaw` browser.
- Prefer `profile="chrome"` (extension) when existing logged-in sessions matter
  and the user is **away from the computer** (Telegram, WhatsApp, etc.).
- Prefer `profile="user"` (Chrome MCP) when existing logged-in sessions matter
  and the user is **at the computer** to approve the attach prompt.
- `profile` is the explicit override when you want a specific browser mode.

Set `browser.defaultProfile: "openclaw"` if you want managed mode by default.

Status and profile listing are passive: they never start a browser, attach Chrome
MCP, or open a CDP WebSocket. Use `browser start` or an explicit browser action
to attach. Chrome MCP and shared extension-relay tab counts reflect the last
explicit tab enumeration; locally owned relays report their current tab metadata.
Live readiness and graphics inspection are available through `browser doctor --deep`.

## Browser panel in the Control UI

The Browser panel follows the current session's latest successful browser tab,
including its profile and host or node. This does not change
`browser.defaultProfile` or another session's selection. Without a session browser target, the panel uses
the configured default routing.

The chat side panel shows only this session's tabs: tabs its agent or panel
opened, plus tabs its conversation used. Other sessions' tabs and tabs opened
outside OpenClaw stay hidden. The Browser dock outside a chat session lists
every tab. Tabs opened from a session's panel belong to that session and follow
the existing session tab cleanup: they close when the session is reset or
deleted, with idle and per-session limits controlled by `browser.tabCleanup`.
Tabs opened from a panel before this ownership existed have no recorded
session, so they stay open but appear only in the Browser dock outside a chat
session.

The panel fits the viewport of an isolated, locally managed browser to its size.
For existing-session Chrome, extension-attached browsers, attach-only CDP, and
remote browsers, the preview scales locally without resizing the browser window
or page viewport. Explicit browser resize actions remain available.

The panel streams the active tab live as the page repaints. It falls back to
screenshots for node-routed browsers, Chrome MCP existing-session profiles,
missing Playwright, or stream connection failures. Navigation rules apply to
the stream: navigating to a blocked address stops it and clears the view.

## Browser handoff

The Browser panel and the agent can view the same browser at the same time. When
a workflow hits a step you want to handle yourself, use **Take control** to
pause agent input on that browser profile without losing the session or closing
the tab.

### When to use it

- **Sign-ins and 2FA:** Log into an account, complete a passkey or one-time
  code challenge, or approve an OAuth consent screen.
- **CAPTCHAs and human checks:** Solve interactive verification steps that the
  agent should not attempt blindly.
- **Sensitive forms and payments:** Enter payment details, manage saved
  passwords, or review a final checkout/submission screen before handing back.

### Taking and releasing control

1. Open the **Browser** panel in the Control UI (from the chat side panel's
   **+** menu, or by asking your agent to show the browser panel).
2. Click **Take control** in the panel toolbar.
3. Complete your sign-in, CAPTCHA, or form step directly in the live browser
   view.
4. Click **Release control** when you are ready for the agent to continue.

Control also releases automatically if you close the Control UI window, if the
connection drops, if the browser runtime stops, or after **5 minutes without
input** from you. **Take control** is available for browsers running on the
Gateway host; it is not available for node-routed browsers.

### What happens while you have control

- **Agent actions pause cleanly:** While your Control UI connection holds
  control of that browser, browser input from anyone else (the agent's browser
  tool, the `openclaw browser` CLI, and other Control UI windows) is refused at
  the route boundary. The agent's browser tool reports that browser input is
  paused while you have control, and its turn continues instead of crashing.
- **In-flight actions and observation continue:** An input action that had
  already started may finish. Read-only observation (such as snapshots,
  screenshots, and PDFs) stays available so the agent can still see the page
  state when you ask it to resume.
- **Other browsers stay unaffected:** Control is scoped to the browser behind
  that profile; other separate browser profiles are unaffected.

### Chrome settings and passwords

You can open `chrome://settings` (for example `chrome://settings/payments`) and
`chrome://password-manager` from the panel's address bar to add a payment card
or manage saved passwords yourself. They always open in a new tab, and only
your authenticated Control UI connection can list, view, or use them. The
agent's browser tool, the `openclaw browser` CLI, and other Gateway clients
cannot open, list, read, capture, or interact with these pages, including while
you have one open. Other `chrome://` pages stay blocked for everyone.

This works for locally managed and CDP-attached Chromium profiles on the Gateway
host. It is not available for node-routed browsers, Chrome MCP existing-session
profiles, or the browser extension, and a profile that runs Chrome's headless
shell has no settings pages to open. Chrome may ask for your device password
before showing a saved password; that prompt appears on the computer running the
browser, not in the panel.

After an established stream disconnects, the panel refreshes its screenshot
and retries the stream automatically after a short delay. Annotation and
inspection keep their captured image until you return to interaction mode.

Browser tool calls appear in chat as ordinary expandable tool results; they do
not add page-preview cards. Tab actions without a page URL still update the
Browser panel's selection. Sandbox browser results remain available to the agent
but do not select a host browser. Expand the tool activity to inspect every
original call and result.

The panel's address bar opens web addresses and searches everything else.
An `http(s)://` URL, or a host with a dot, a port, `localhost` or an IPv6
address, opens as an address, even when its path or query contains spaces.
Other text, such as words with spaces or a single word like `openclaw`,
opens a Google search. For a single name such as `devbox`, the address bar
also offers **Go to `https://devbox/`** to open it as an address instead. None
of the browsers the panel drives exposes its own default search engine to
OpenClaw. Addresses without a scheme open over
`https://`; other schemes such as `javascript:` or `file:` are not opened,
and the address bar says so.

If a listed tab cannot be accessed, the panel explains whether navigation rules
blocked it or its address could not be verified. Select another tab, enter an
allowed address, or refresh after a temporary lookup failure. Blocked URLs stay
hidden; displaying a tab title does not grant access to its contents.

Following a historical tab never starts a stopped managed browser: a fresh
launch cannot contain that tab. The panel shows **Start browser** instead.
Click **Start browser** to launch the browser and show its current tabs.

For local `attachOnly` CDP profiles on macOS and Linux, direct preview screenshots
preserve the active Chrome tab when OpenClaw can verify that the attached browser
is running with a visible window. Headless browsers and browsers whose mode cannot
be verified keep the existing activation behavior so screenshots remain reliable.
Explicit tab-focus actions still activate the requested tab.
