|
| 1 | +--- |
| 2 | +title: "OpenClaw 2026.3.23.1 Browser Tool Overhaul: From Chrome Extension to Native DevTools MCP" |
| 3 | +description: "Based on official OpenClaw documentation and the latest from the Chrome team, this post details the major upgrade of the browser tool in version 2026.3.23.1, moving from extension-based relay to the native Chrome DevTools MCP protocol." |
| 4 | +slug: openclaw-chrome |
| 5 | +date: 2026-03-24 23:00:00+0800 |
| 6 | +categories: |
| 7 | + - Tutorials |
| 8 | +tags: |
| 9 | + - OpenClaw |
| 10 | +--- |
| 11 | + |
| 12 | +In the latest **2026.3.23.1** release, OpenClaw has undergone a significant overhaul of its browser automation tools. |
| 13 | + |
| 14 | +According to official documentation and recent releases from the Chrome team, OpenClaw has officially transitioned from the unstable "Extension Relay" mode to a native connection scheme based on **Chrome DevTools MCP (Model Context Protocol)**. This means AI can now take over your browser in a more secure, native, and efficient manner. |
| 15 | + |
| 16 | +--- |
| 17 | + |
| 18 | +## Core Evolution: Why No More Extensions? |
| 19 | + |
| 20 | +Before version 2026.3.23.1, OpenClaw primarily relied on a manually installed Chrome extension to bridge the connection. This approach suffered from limited permissions and unstable session synchronization. |
| 21 | + |
| 22 | +The new version introduces two core Profile modes: |
| 23 | +1. **`openclaw` Mode**: A fully isolated, managed browser that works out of the box with no configuration required (features an orange theme). |
| 24 | +2. **`user` Mode (Upgraded from the old `chrome` mode)**: Directly attaches to your active Chrome window via **Chrome DevTools MCP**, achieving true "zero-extension" takeover. |
| 25 | + |
| 26 | +--- |
| 27 | + |
| 28 | +## Legacy Tutorial: Chrome Extension Relay |
| 29 | + |
| 30 | +If you are still using an older version, the connection logic depends on a browser extension: |
| 31 | + |
| 32 | +1. **Install Extension**: Go to `chrome://extensions/`, enable Developer Mode, and manually load the `openclaw-connector` folder. |
| 33 | +2. **ID Configuration**: Enter the unique ID generated by the extension into your `~/.openclaw/openclaw.json` (or the older YAML config). |
| 34 | +3. **Manual Authorization**: Before each task, you must click the extension icon in the browser and manually allow OpenClaw to connect to the current tab. |
| 35 | + |
| 36 | +--- |
| 37 | + |
| 38 | +## New Version Tutorial: DevTools MCP Remote Debugging (Recommended) |
| 39 | + |
| 40 | +In **2026.3.23.1**, connecting to your native browser (Profile: `user`) no longer requires an extension. Instead, it utilizes the native remote debugging capabilities built into Chrome 144+. |
| 41 | + |
| 42 | +### Step 1: Enable Remote Debugging in Chrome |
| 43 | +No more complex command-line arguments. You can now enable this within Chrome's settings: |
| 44 | +1. Enter `chrome://inspect/#remote-debugging` in the Chrome address bar. |
| 45 | +2. Check **"Enable remote debugging"**. |
| 46 | +3. Follow the prompts to allow incoming debugging connections. |
| 47 | + |
| 48 | +### Step 2: Configure OpenClaw to Use the `user` Profile |
| 49 | +OpenClaw configuration is now unified in `~/.openclaw/openclaw.json`. To enable native takeover, ensure your configuration looks like this: |
| 50 | + |
| 51 | +```json |
| 52 | +{ |
| 53 | + "browser": { |
| 54 | + "enabled": true, |
| 55 | + "defaultProfile": "user", |
| 56 | + "profiles": { |
| 57 | + "user": { |
| 58 | + "driver": "existing-session", |
| 59 | + "attachOnly": true, |
| 60 | + "color": "#00AA00" |
| 61 | + } |
| 62 | + } |
| 63 | + } |
| 64 | +} |
| 65 | +``` |
| 66 | + |
| 67 | +### Step 3: Authorize the Connection |
| 68 | +The first time you run `openclaw tool run browser`, a native authorization dialog will pop up at the top of Chrome. |
| 69 | +- Click **"Allow"**. |
| 70 | +- Chrome will then display a banner stating "Chrome is being controlled by automated test software," indicating the AI has successfully taken over. |
| 71 | + |
| 72 | +--- |
| 73 | + |
| 74 | +## Key Technical Comparison |
| 75 | + |
| 76 | +| Feature | Old (Extension) | New (DevTools MCP) | |
| 77 | +| :--- | :--- | :--- | |
| 78 | +| **Connection Protocol** | Extension API Forwarding | **Native CDP / MCP Protocol** | |
| 79 | +| **Authentication** | Extension ID Verification | **System-level Chrome Popup Authorization** | |
| 80 | +| **Session Sharing** | Requires extension intervention | **Native sharing of existing sessions** | |
| 81 | +| **Security** | Extension might have injection risks | **Based on Chrome's built-in security sandbox** | |
| 82 | +| **System Requirements** | Any Chrome version | **Chrome M144 or higher** | |
| 83 | + |
| 84 | +--- |
| 85 | + |
| 86 | +## Upgrade Recommendations and Notes |
| 87 | + |
| 88 | +1. **Version Requirements**: Native MCP mode requires **Chrome M144 (Beta/Canary)** or higher. If you are using a stable version of Chrome with a lower version number, it is recommended to continue using the `openclaw` managed mode. |
| 89 | +2. **Config Path**: OpenClaw configuration has moved from `config.yaml` to the more standardized `~/.openclaw/openclaw.json`. |
| 90 | +3. **Privacy Reminder**: When using `user` mode, the AI can access all pages where you are currently logged in (e.g., GitHub, Gmail). Ensure you trust the agent before performing automated tasks. |
| 91 | + |
| 92 | +--- |
0 commit comments