chrome-devtools-mcp 1.8.0 → 1.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (72) hide show
  1. package/README.md +20 -908
  2. package/build/src/BrowserManager.js +401 -0
  3. package/build/src/McpContext.js +43 -26
  4. package/build/src/McpPage.js +112 -4
  5. package/build/src/McpResponse.js +68 -3
  6. package/build/src/ToolHandler.js +184 -160
  7. package/build/src/bin/chrome-devtools-mcp-main.js +12 -7
  8. package/build/src/bin/chrome-devtools.js +6 -12
  9. package/build/src/collectors/PageCollector.js +66 -3
  10. package/build/src/config/browser-options.js +125 -0
  11. package/build/src/config/category-options.js +89 -0
  12. package/build/src/config/cli-commands.js +26 -0
  13. package/build/src/config/cli-options.js +34 -2
  14. package/build/src/config/mcp-options.js +86 -147
  15. package/build/src/daemon/utils.js +6 -0
  16. package/build/src/devtools/DevToolsCommentBridge.js +91 -0
  17. package/build/src/devtools/DevtoolsUtils.js +27 -21
  18. package/build/src/formatters/CommentFormatter.js +82 -0
  19. package/build/src/formatters/CssFormatter.js +812 -0
  20. package/build/src/formatters/NetworkFormatter.js +5 -2
  21. package/build/src/index.js +175 -128
  22. package/build/src/processors/ChunkedTraceParser.js +361 -0
  23. package/build/src/processors/PerformanceTrace.js +60 -13
  24. package/build/src/telemetry/ClearcutLogger.js +95 -37
  25. package/build/src/telemetry/metricsRegistry.js +3 -0
  26. package/build/src/telemetry/persistence.js +17 -7
  27. package/build/src/telemetry/transformation.js +53 -4
  28. package/build/src/telemetry/types.js +1 -0
  29. package/build/src/third_party/THIRD_PARTY_NOTICES +687 -133
  30. package/build/src/third_party/bundled-packages.json +6 -3
  31. package/build/src/third_party/devtools-formatter-worker.js +158 -5
  32. package/build/src/third_party/devtools-heap-snapshot-worker.js +589 -6
  33. package/build/src/third_party/index.js +59173 -38013
  34. package/build/src/third_party/issue-descriptions/webInstallManifestMissingId.md +3 -0
  35. package/build/src/third_party/issue-descriptions/webInstallManifestMissingNameOrShortName.md +3 -0
  36. package/build/src/third_party/issue-descriptions/webInstallManifestParsingOrNetworkError.md +3 -0
  37. package/build/src/third_party/issue-descriptions/webInstallNoManifest.md +3 -0
  38. package/build/src/third_party/issue-descriptions/webInstallStartUrlInvalid.md +3 -0
  39. package/build/src/tools/ToolDefinition.js +28 -21
  40. package/build/src/tools/categories.js +0 -6
  41. package/build/src/tools/comments.js +169 -0
  42. package/build/src/tools/console.js +3 -3
  43. package/build/src/tools/css.js +45 -0
  44. package/build/src/tools/emulation.js +5 -5
  45. package/build/src/tools/extensions.js +10 -10
  46. package/build/src/tools/input.js +159 -87
  47. package/build/src/tools/lighthouse.js +18 -7
  48. package/build/src/tools/memory.js +26 -26
  49. package/build/src/tools/network.js +5 -5
  50. package/build/src/tools/pages.js +34 -19
  51. package/build/src/tools/performance.js +7 -6
  52. package/build/src/tools/pwa.js +8 -8
  53. package/build/src/tools/screencast.js +5 -4
  54. package/build/src/tools/screenshot.js +2 -2
  55. package/build/src/tools/script.js +8 -7
  56. package/build/src/tools/slim/tools.js +45 -37
  57. package/build/src/tools/snapshot.js +4 -4
  58. package/build/src/tools/thirdPartyDeveloper.js +4 -4
  59. package/build/src/tools/tools.js +6 -9
  60. package/build/src/tools/webmcp.js +4 -4
  61. package/build/src/types.js +4 -1
  62. package/build/src/utils/WaitForHelper.js +26 -9
  63. package/build/src/utils/logger.js +7 -6
  64. package/build/src/utils/url.js +73 -0
  65. package/build/src/version.js +1 -1
  66. package/package.json +9 -6
  67. package/skills/chrome-devtools/SKILL.md +2 -1
  68. package/skills/chrome-devtools-cli/SKILL.md +3 -7
  69. package/skills/cookie-debugging/SKILL.md +149 -0
  70. package/skills/memory-leak-debugging/SKILL.md +4 -0
  71. package/build/src/browser.js +0 -244
  72. package/build/src/third_party/issue-descriptions/cookieExcludeBlockedWithinRelatedWebsiteSet.md +0 -4
package/README.md CHANGED
@@ -6,9 +6,9 @@ Chrome DevTools for agents (`chrome-devtools-mcp`) lets your coding agent (such
6
6
  control and inspect a live Chrome browser. It acts as a Model-Context-Protocol
7
7
  (MCP) server, giving your AI coding assistant access to the full power of
8
8
  Chrome DevTools for reliable automation, in-depth debugging, and performance analysis.
9
- A [CLI](docs/cli.md) is also provided for use without MCP.
9
+ A [CLI][cli] is also provided for use without MCP.
10
10
 
11
- ## [Tool reference](./docs/tool-reference.md) | [Changelog](./CHANGELOG.md) | [Contributing](./CONTRIBUTING.md) | [Troubleshooting](./docs/troubleshooting.md) | [Design Principles](./docs/design-principles.md)
11
+ [Tool reference][tool-reference] | [Changelog][changelog] | [Contributing][contributing] | [Troubleshooting][troubleshooting] | [Design Principles][design-principles]
12
12
 
13
13
  ## Key features
14
14
 
@@ -96,410 +96,11 @@ If you are interested in doing only basic browser tasks, use the `--slim` mode:
96
96
  }
97
97
  ```
98
98
 
99
- See [Slim tool reference](./docs/slim-tool-reference.md).
99
+ See [Slim tool reference][slim-tool-reference].
100
100
 
101
101
  ### MCP Client configuration
102
102
 
103
- <details>
104
- <summary>Amp</summary>
105
- Follow https://ampcode.com/manual#mcp and use the config provided above. You can also install the Chrome DevTools MCP server using the CLI:
106
-
107
- ```bash
108
- amp mcp add chrome-devtools -- npx chrome-devtools-mcp@latest
109
- ```
110
-
111
- </details>
112
-
113
- <details>
114
- <summary>Antigravity</summary>
115
-
116
- To use the Chrome DevTools MCP server follow the instructions from <a href="https://antigravity.google/docs/mcp">Antigravity's docs</a> to install a custom MCP server. Add the following config to the MCP servers config:
117
-
118
- ```bash
119
- {
120
- "mcpServers": {
121
- "chrome-devtools": {
122
- "command": "npx",
123
- "args": [
124
- "-y",
125
- "chrome-devtools-mcp@latest",
126
- "--browser-url=http://127.0.0.1:9222"
127
- ]
128
- }
129
- }
130
- }
131
- ```
132
-
133
- This will make the Chrome DevTools MCP server automatically connect to the browser that Antigravity is using. If you are not using port 9222, make sure to adjust accordingly.
134
-
135
- Chrome DevTools MCP will not start the browser instance automatically using this approach because the Chrome DevTools MCP server connects to Antigravity's built-in browser. If the browser is not already running, you have to start it first by clicking the Chrome icon at the top right corner.
136
-
137
- </details>
138
-
139
- <details>
140
- <summary>Bob</summary>
141
-
142
- Follow the <a href="https://bob.ibm.com/docs/ide/configuration/mcp/mcp-in-bob">IBM Bob MCP guide</a> and add the Chrome DevTools MCP server to your Bob MCP configuration. Use the global config (`~/.bob/mcp.json`) to apply it across all workspaces, or a project config (`.bob/mcp.json`) to scope it to one project:
143
-
144
- ```json
145
- {
146
- "mcpServers": {
147
- "chrome-devtools": {
148
- "command": "npx",
149
- "args": ["-y", "chrome-devtools-mcp@latest"]
150
- }
151
- }
152
- }
153
- ```
154
-
155
- You can edit these files from **Bob panel → Settings → MCP → Edit Global MCP** (or **Edit Project MCP**). Bob hot-reloads on save. Once the server appears in the MCP tab, switch to the **🌎 Browser Dev** mode to get guided browser debugging directly in Bob.
156
-
157
- </details>
158
-
159
- <details>
160
- <summary>Claude Code</summary>
161
-
162
- **Install via CLI (MCP only)**
163
-
164
- Use the Claude Code CLI to add the Chrome DevTools MCP server (<a href="https://code.claude.com/docs/en/mcp">guide</a>):
165
-
166
- ```bash
167
- claude mcp add chrome-devtools --scope user npx chrome-devtools-mcp@latest
168
- ```
169
-
170
- **Install as a Plugin (MCP + Skills)**
171
-
172
- > [!NOTE]
173
- > If you already had Chrome DevTools MCP installed previously for Claude Code, make sure to remove it first from your installation and configuration files.
174
-
175
- To install Chrome DevTools MCP with skills, add the marketplace registry in Claude Code:
176
-
177
- ```sh
178
- /plugin marketplace add ChromeDevTools/chrome-devtools-mcp
179
- ```
180
-
181
- Then, install the plugin:
182
-
183
- ```sh
184
- /plugin install chrome-devtools-mcp@chrome-devtools-plugins
185
- ```
186
-
187
- Restart Claude Code to have the MCP server and skills load (check with `/skills`).
188
-
189
- > [!TIP]
190
- > If the plugin installation fails with a `Failed to clone repository` error (e.g., HTTPS connectivity issues behind a corporate firewall), see the [troubleshooting guide](./docs/troubleshooting.md#claude-code-plugin-installation-fails-with-failed-to-clone-repository) for workarounds, or use the CLI installation method above instead.
191
-
192
- </details>
193
-
194
- <details>
195
- <summary>Cline</summary>
196
- Follow https://docs.cline.bot/mcp/configuring-mcp-servers and use the config provided above.
197
- </details>
198
-
199
- <details>
200
- <summary>Codex</summary>
201
- Follow the <a href="https://developers.openai.com/codex/mcp/#configure-with-the-cli">configure MCP guide</a>
202
- using the standard config from above. You can also install the Chrome DevTools MCP server using the Codex CLI:
203
-
204
- ```bash
205
- codex mcp add chrome-devtools -- npx chrome-devtools-mcp@latest
206
- ```
207
-
208
- **On Windows 11**
209
-
210
- Configure the Chrome install location and increase the startup timeout by updating `.codex/config.toml` and adding the following `env` and `startup_timeout_ms` parameters:
211
-
212
- ```
213
- [mcp_servers.chrome-devtools]
214
- command = "cmd"
215
- args = [
216
- "/c",
217
- "npx",
218
- "-y",
219
- "chrome-devtools-mcp@latest",
220
- ]
221
- env = { SystemRoot="C:\\Windows", PROGRAMFILES="C:\\Program Files" }
222
- startup_timeout_ms = 20_000
223
- ```
224
-
225
- </details>
226
-
227
- <details>
228
- <summary>Command Code</summary>
229
-
230
- Use the Command Code CLI to add the Chrome DevTools MCP server (<a href="https://commandcode.ai/docs/mcp">MCP guide</a>):
231
-
232
- ```bash
233
- cmd mcp add chrome-devtools --scope user npx chrome-devtools-mcp@latest
234
- ```
235
-
236
- </details>
237
-
238
- <details>
239
- <summary>Copilot CLI</summary>
240
-
241
- Start Copilot CLI:
242
-
243
- ```
244
- copilot
245
- ```
246
-
247
- Start the dialog to add a new MCP server by running:
248
-
249
- ```
250
- /mcp add
251
- ```
252
-
253
- Configure the following fields and press `CTRL+S` to save the configuration:
254
-
255
- - **Server name:** `chrome-devtools`
256
- - **Server Type:** `[1] Local`
257
- - **Command:** `npx -y chrome-devtools-mcp@latest`
258
-
259
- </details>
260
-
261
- <details>
262
- <summary>Copilot / VS Code</summary>
263
-
264
- **Install as a Plugin (Recommended)**
265
-
266
- The easiest way to get up and running is to install `chrome-devtools-mcp` as an agent plugin.
267
- This bundles the **MCP server** and all **skills** together, so your agent gets both the tools
268
- and the expert guidance it needs to use them effectively.
269
-
270
- 1. Open the **Command Palette** (`Cmd+Shift+P` on macOS or `Ctrl+Shift+P` on Windows/Linux).
271
- 2. Search for and run the **Chat: Install Plugin From Source** command.
272
- 3. Paste in our repository name: `ChromeDevTools/chrome-devtools-mcp`.
273
-
274
- That's it! Your agent is now supercharged with Chrome DevTools capabilities.
275
-
276
- ---
277
-
278
- **Install as an MCP Server (MCP only)**
279
-
280
- **Click the button to install:**
281
-
282
- [<img src="https://img.shields.io/badge/VS_Code-VS_Code?style=flat-square&label=Install%20Server&color=0098FF" alt="Install in VS Code">](https://vscode.dev/redirect/mcp/install?name=io.github.ChromeDevTools%2Fchrome-devtools-mcp&config=%7B%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22-y%22%2C%22chrome-devtools-mcp%22%5D%2C%22env%22%3A%7B%7D%7D)
283
-
284
- [<img src="https://img.shields.io/badge/VS_Code_Insiders-VS_Code_Insiders?style=flat-square&label=Install%20Server&color=24bfa5" alt="Install in VS Code Insiders">](https://insiders.vscode.dev/redirect?url=vscode-insiders%3Amcp%2Finstall%3F%257B%2522name%2522%253A%2522io.github.ChromeDevTools%252Fchrome-devtools-mcp%2522%252C%2522config%2522%253A%257B%2522command%2522%253A%2522npx%2522%252C%2522args%2522%253A%255B%2522-y%2522%252C%2522chrome-devtools-mcp%2522%255D%252C%2522env%2522%253A%257B%257D%257D%257D)
285
-
286
- **Or install manually:**
287
-
288
- Follow the VS Code [MCP configuration guide](https://code.visualstudio.com/docs/copilot/chat/mcp-servers#_add-an-mcp-server) using the standard config from above, or use the CLI:
289
-
290
- For macOS and Linux:
291
-
292
- ```bash
293
- code --add-mcp '{"name":"io.github.ChromeDevTools/chrome-devtools-mcp","command":"npx","args":["-y","chrome-devtools-mcp"],"env":{}}'
294
- ```
295
-
296
- For Windows (PowerShell):
297
-
298
- ```powershell
299
- code --add-mcp '{"""name""":"""io.github.ChromeDevTools/chrome-devtools-mcp""","""command""":"""npx""","""args""":["""-y""","""chrome-devtools-mcp"""]}'
300
- ```
301
-
302
- </details>
303
-
304
- <details>
305
- <summary>Cursor</summary>
306
-
307
- **Click the button to install:**
308
-
309
- [<img src="https://cursor.com/deeplink/mcp-install-dark.svg" alt="Install in Cursor">](https://cursor.com/en/install-mcp?name=chrome-devtools&config=eyJjb21tYW5kIjoibnB4IC15IGNocm9tZS1kZXZ0b29scy1tY3BAbGF0ZXN0In0%3D)
310
-
311
- **Or install manually:**
312
-
313
- Go to `Cursor Settings` -> `MCP` -> `New MCP Server`. Use the config provided above.
314
-
315
- </details>
316
-
317
- <details>
318
- <summary>Devin CLI</summary>
319
-
320
- **Install via CLI (MCP only)**
321
-
322
- Use the Devin CLI to add the Chrome DevTools MCP server (<a href="https://docs.devin.ai/cli/extensibility/mcp/configuration">guide</a>):
323
-
324
- ```bash
325
- devin mcp add chrome-devtools -- npx chrome-devtools-mcp@latest
326
- ```
327
-
328
- </details>
329
-
330
- <details>
331
- <summary>Factory CLI</summary>
332
- Use the Factory CLI to add the Chrome DevTools MCP server (<a href="https://docs.factory.ai/cli/configuration/mcp">guide</a>):
333
-
334
- ```bash
335
- droid mcp add chrome-devtools "npx -y chrome-devtools-mcp@latest"
336
- ```
337
-
338
- </details>
339
-
340
- <details>
341
- <summary>Gemini CLI</summary>
342
- Install the Chrome DevTools MCP server using the Gemini CLI.
343
-
344
- **Project wide:**
345
-
346
- ```bash
347
- # Either MCP only:
348
- gemini mcp add chrome-devtools npx chrome-devtools-mcp@latest
349
- # Or as a Gemini extension (MCP+Skills):
350
- gemini extensions install --auto-update https://github.com/ChromeDevTools/chrome-devtools-mcp
351
- ```
352
-
353
- **Globally:**
354
-
355
- ```bash
356
- gemini mcp add -s user chrome-devtools npx chrome-devtools-mcp@latest
357
- ```
358
-
359
- Alternatively, follow the <a href="https://github.com/google-gemini/gemini-cli/blob/main/docs/tools/mcp-server.md#how-to-set-up-your-mcp-server">MCP guide</a> and use the standard config from above.
360
-
361
- </details>
362
-
363
- <details>
364
- <summary>Gemini Code Assist</summary>
365
- Follow the <a href="https://cloud.google.com/gemini/docs/codeassist/use-agentic-chat-pair-programmer#configure-mcp-servers">configure MCP guide</a>
366
- using the standard config from above.
367
- </details>
368
-
369
- <details>
370
- <summary>Grok Build CLI</summary>
371
-
372
- ```bash
373
- grok mcp add chrome-devtools npx chrome-devtools-mcp@latest
374
- ```
375
-
376
- See the <a href="https://docs.x.ai/build/features/skills-plugins-marketplaces">docs</a> for more options
377
- </details>
378
-
379
- <details>
380
- <summary>JetBrains AI Assistant & Junie</summary>
381
-
382
- Go to `Settings | Tools | AI Assistant | Model Context Protocol (MCP)` -> `Add`. Use the config provided above.
383
- The same way chrome-devtools-mcp can be configured for JetBrains Junie in `Settings | Tools | Junie | MCP Settings` -> `Add`. Use the config provided above.
384
-
385
- </details>
386
-
387
- <details>
388
- <summary>Kiro</summary>
389
-
390
- In **Kiro Settings**, go to `Configure MCP` > `Open Workspace or User MCP Config` > Use the configuration snippet provided above.
391
-
392
- Or, from the IDE **Activity Bar** > `Kiro` > `MCP Servers` > `Click Open MCP Config`. Use the configuration snippet provided above.
393
-
394
- </details>
395
-
396
- <details>
397
- <summary>Katalon Studio</summary>
398
-
399
- The Chrome DevTools MCP server can be used with <a href="https://docs.katalon.com/katalon-studio/studioassist/mcp-servers/setting-up-chrome-devtools-mcp-server-for-studioassist">Katalon StudioAssist</a> via an MCP proxy.
400
-
401
- **Step 1:** Install the MCP proxy by following the <a href="https://docs.katalon.com/katalon-studio/studioassist/mcp-servers/setting-up-mcp-proxy-for-stdio-mcp-servers">MCP proxy setup guide</a>.
402
-
403
- **Step 2:** Start the Chrome DevTools MCP server with the proxy:
404
-
405
- ```bash
406
- mcp-proxy --transport streamablehttp --port 8080 -- npx -y chrome-devtools-mcp@latest
407
- ```
408
-
409
- **Note:** You may need to pick another port if 8080 is already in use.
410
-
411
- **Step 3:** In Katalon Studio, add the server to StudioAssist with the following settings:
412
-
413
- - **Connection URL:** `http://127.0.0.1:8080/mcp`
414
- - **Transport type:** `HTTP`
415
-
416
- Once connected, the Chrome DevTools MCP tools will be available in StudioAssist.
417
-
418
- </details>
419
-
420
- <details>
421
- <summary>Mistral Vibe</summary>
422
-
423
- Add in ~/.vibe/config.toml:
424
-
425
- ```toml
426
- [[mcp_servers]]
427
- name = "chrome-devtools"
428
- transport = "stdio"
429
- command = "npx"
430
- args = ["chrome-devtools-mcp@latest"]
431
- ```
432
-
433
- </details>
434
-
435
- <details>
436
- <summary>OpenCode</summary>
437
-
438
- Add the following configuration to your `opencode.json` file. If you don't have one, create it at `~/.config/opencode/opencode.json` (<a href="https://opencode.ai/docs/mcp-servers">guide</a>):
439
-
440
- ```json
441
- {
442
- "$schema": "https://opencode.ai/config.json",
443
- "mcp": {
444
- "chrome-devtools": {
445
- "type": "local",
446
- "command": ["npx", "-y", "chrome-devtools-mcp@latest"]
447
- }
448
- }
449
- }
450
- ```
451
-
452
- </details>
453
-
454
- <details>
455
- <summary>Qoder</summary>
456
-
457
- In **Qoder Settings**, go to `MCP Server` > `+ Add` > Use the configuration snippet provided above.
458
-
459
- Alternatively, follow the <a href="https://docs.qoder.com/user-guide/chat/model-context-protocol">MCP guide</a> and use the standard config from above.
460
-
461
- </details>
462
-
463
- <details>
464
- <summary>Qoder CLI</summary>
465
-
466
- Install the Chrome DevTools MCP server using the Qoder CLI (<a href="https://docs.qoder.com/cli/using-cli#mcp-servers">guide</a>):
467
-
468
- **Project wide:**
469
-
470
- ```bash
471
- qodercli mcp add chrome-devtools -- npx chrome-devtools-mcp@latest
472
- ```
473
-
474
- **Globally:**
475
-
476
- ```bash
477
- qodercli mcp add -s user chrome-devtools -- npx chrome-devtools-mcp@latest
478
- ```
479
-
480
- </details>
481
-
482
- <details>
483
- <summary>Visual Studio</summary>
484
-
485
- **Click the button to install:**
486
-
487
- [<img src="https://img.shields.io/badge/Visual_Studio-Install-C16FDE?logo=visualstudio&logoColor=white" alt="Install in Visual Studio">](https://vs-open.link/mcp-install?%7B%22name%22%3A%22chrome-devtools%22%2C%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22chrome-devtools-mcp%40latest%22%5D%7D)
488
-
489
- </details>
490
-
491
- <details>
492
- <summary>Warp</summary>
493
-
494
- Go to `Settings | AI | Manage MCP Servers` -> `+ Add` to [add an MCP Server](https://docs.warp.dev/knowledge-and-collaboration/mcp#adding-an-mcp-server). Use the config provided above.
495
-
496
- </details>
497
-
498
- <details>
499
- <summary>Windsurf</summary>
500
- Follow the <a href="https://docs.windsurf.com/windsurf/cascade/mcp#mcp-config-json">configure MCP guide</a>
501
- using the standard config from above.
502
- </details>
103
+ For setup instructions specific to your editor or agent (e.g. Antigravity, Claude Code, Cursor, VS Code), please see our [Client Configurations Guide][client-configurations-guide].
503
104
 
504
105
  ### Your first prompt
505
106
 
@@ -516,519 +117,30 @@ Your MCP client should open the browser and record a performance trace.
516
117
 
517
118
  ## Tools
518
119
 
519
- If you run into any issues, checkout our [troubleshooting guide](./docs/troubleshooting.md).
520
-
521
- <!-- BEGIN AUTO GENERATED TOOLS -->
522
-
523
- - **Input automation** (10 tools)
524
- - [`click`](docs/tool-reference.md#click)
525
- - [`drag`](docs/tool-reference.md#drag)
526
- - [`fill`](docs/tool-reference.md#fill)
527
- - [`fill_form`](docs/tool-reference.md#fill_form)
528
- - [`handle_dialog`](docs/tool-reference.md#handle_dialog)
529
- - [`hover`](docs/tool-reference.md#hover)
530
- - [`press_key`](docs/tool-reference.md#press_key)
531
- - [`type_text`](docs/tool-reference.md#type_text)
532
- - [`upload_file`](docs/tool-reference.md#upload_file)
533
- - [`click_at`](docs/tool-reference.md#click_at)
534
- - **Navigation automation** (6 tools)
535
- - [`close_page`](docs/tool-reference.md#close_page)
536
- - [`list_pages`](docs/tool-reference.md#list_pages)
537
- - [`navigate_page`](docs/tool-reference.md#navigate_page)
538
- - [`new_page`](docs/tool-reference.md#new_page)
539
- - [`select_page`](docs/tool-reference.md#select_page)
540
- - [`wait_for`](docs/tool-reference.md#wait_for)
541
- - **Emulation** (2 tools)
542
- - [`emulate`](docs/tool-reference.md#emulate)
543
- - [`resize_page`](docs/tool-reference.md#resize_page)
544
- - **Performance** (3 tools)
545
- - [`performance_analyze_insight`](docs/tool-reference.md#performance_analyze_insight)
546
- - [`performance_start_trace`](docs/tool-reference.md#performance_start_trace)
547
- - [`performance_stop_trace`](docs/tool-reference.md#performance_stop_trace)
548
- - **Network** (2 tools)
549
- - [`get_network_request`](docs/tool-reference.md#get_network_request)
550
- - [`list_network_requests`](docs/tool-reference.md#list_network_requests)
551
- - **Debugging** (8 tools)
552
- - [`evaluate_script`](docs/tool-reference.md#evaluate_script)
553
- - [`get_console_message`](docs/tool-reference.md#get_console_message)
554
- - [`lighthouse_audit`](docs/tool-reference.md#lighthouse_audit)
555
- - [`list_console_messages`](docs/tool-reference.md#list_console_messages)
556
- - [`take_screenshot`](docs/tool-reference.md#take_screenshot)
557
- - [`take_snapshot`](docs/tool-reference.md#take_snapshot)
558
- - [`screencast_start`](docs/tool-reference.md#screencast_start)
559
- - [`screencast_stop`](docs/tool-reference.md#screencast_stop)
560
- - **Memory** (13 tools)
561
- - [`take_heapsnapshot`](docs/tool-reference.md#take_heapsnapshot)
562
- - [`close_heapsnapshot`](docs/tool-reference.md#close_heapsnapshot)
563
- - [`compare_heapsnapshots`](docs/tool-reference.md#compare_heapsnapshots)
564
- - [`get_heapsnapshot_class_nodes`](docs/tool-reference.md#get_heapsnapshot_class_nodes)
565
- - [`get_heapsnapshot_details`](docs/tool-reference.md#get_heapsnapshot_details)
566
- - [`get_heapsnapshot_dominators`](docs/tool-reference.md#get_heapsnapshot_dominators)
567
- - [`get_heapsnapshot_duplicate_strings`](docs/tool-reference.md#get_heapsnapshot_duplicate_strings)
568
- - [`get_heapsnapshot_edges`](docs/tool-reference.md#get_heapsnapshot_edges)
569
- - [`get_heapsnapshot_object_details`](docs/tool-reference.md#get_heapsnapshot_object_details)
570
- - [`get_heapsnapshot_retainers`](docs/tool-reference.md#get_heapsnapshot_retainers)
571
- - [`get_heapsnapshot_retaining_paths`](docs/tool-reference.md#get_heapsnapshot_retaining_paths)
572
- - [`get_heapsnapshot_summary`](docs/tool-reference.md#get_heapsnapshot_summary)
573
- - [`query_heapsnapshot_objects`](docs/tool-reference.md#query_heapsnapshot_objects)
574
- - **Extensions** (5 tools)
575
- - [`install_extension`](docs/tool-reference.md#install_extension)
576
- - [`list_extensions`](docs/tool-reference.md#list_extensions)
577
- - [`reload_extension`](docs/tool-reference.md#reload_extension)
578
- - [`trigger_extension_action`](docs/tool-reference.md#trigger_extension_action)
579
- - [`uninstall_extension`](docs/tool-reference.md#uninstall_extension)
580
- - **Third-party** (2 tools)
581
- - [`execute_3p_developer_tool`](docs/tool-reference.md#execute_3p_developer_tool)
582
- - [`list_3p_developer_tools`](docs/tool-reference.md#list_3p_developer_tools)
583
- - **WebMCP** (2 tools)
584
- - [`execute_webmcp_tool`](docs/tool-reference.md#execute_webmcp_tool)
585
- - [`list_webmcp_tools`](docs/tool-reference.md#list_webmcp_tools)
586
- - **Progressive Web Apps** (4 tools)
587
- - [`get_os_app_state`](docs/tool-reference.md#get_os_app_state)
588
- - [`install_pwa`](docs/tool-reference.md#install_pwa)
589
- - [`launch_pwa`](docs/tool-reference.md#launch_pwa)
590
- - [`uninstall_pwa`](docs/tool-reference.md#uninstall_pwa)
591
-
592
- <!-- END AUTO GENERATED TOOLS -->
120
+ If you run into any issues, checkout our [troubleshooting guide][troubleshooting].
121
+ See the full [Tool Reference][tool-reference] for a complete list of all supported MCP capabilities.
593
122
 
594
123
  ## Configuration
595
124
 
596
- The Chrome DevTools MCP server supports the following configuration option:
597
-
598
- <!-- BEGIN AUTO GENERATED OPTIONS -->
599
-
600
- - **`--autoConnect`/ `--auto-connect`**
601
- If specified, automatically connects to a browser (Chrome 144+) running locally from the user data directory identified by the channel param (default channel is stable). Requires the remote debugging server to be started in the Chrome instance via chrome://inspect/#remote-debugging.
602
- - **Type:** boolean
603
- - **Default:** `false`
604
-
605
- - **`--browserUrl`/ `--browser-url`, `-u`**
606
- Connect to a running, debuggable Chrome instance (e.g. `http://127.0.0.1:9222`). For more details see: https://github.com/ChromeDevTools/chrome-devtools-mcp#connecting-to-a-running-chrome-instance.
607
- - **Type:** string
608
- - **Default:** `false`
609
-
610
- - **`--wsEndpoint`/ `--ws-endpoint`, `-w`**
611
- WebSocket endpoint to connect to a running Chrome instance (e.g., ws://127.0.0.1:9222/devtools/browser/<id>). Alternative to --browserUrl.
612
- - **Type:** string
613
- - **Default:** `false`
614
-
615
- - **`--wsHeaders`/ `--ws-headers`**
616
- Custom headers for WebSocket connection in JSON format (e.g., '{"Authorization":"Bearer token"}'). Only works with --wsEndpoint.
617
- - **Type:** string
618
- - **Default:** `false`
619
-
620
- - **`--headless`**
621
- Whether to run in headless (no UI) mode.
622
- - **Type:** boolean
623
- - **Default:** `false`
624
-
625
- - **`--executablePath`/ `--executable-path`, `-e`**
626
- Path to custom Chrome executable.
627
- - **Type:** string
628
- - **Default:** `false`
629
-
630
- - **`--isolated`**
631
- If specified, creates a temporary user-data-dir that is automatically cleaned up after the browser is closed. Defaults to false.
632
- - **Type:** boolean
633
- - **Default:** `false`
634
-
635
- - **`--userDataDir`/ `--user-data-dir`**
636
- Path to the user data directory for Chrome. Default is $HOME/.cache/chrome-devtools-mcp/chrome-profile$CHANNEL_SUFFIX_IF_NON_STABLE
637
- - **Type:** string
638
- - **Default:** `false`
639
-
640
- - **`--channel`**
641
- Specify a different Chrome channel that should be used. The default is the stable channel version.
642
- - **Type:** string
643
- - **Choices:** `canary`, `dev`, `beta`, `stable`
644
- - **Default:** `false`
645
-
646
- - **`--logFile`/ `--log-file`**
647
- Path to a file to write debug logs to. Set the env variable `DEBUG` to `*` to enable verbose logs. Useful for submitting bug reports.
648
- - **Type:** string
649
- - **Default:** `false`
650
-
651
- - **`--viewport`**
652
- Initial viewport size for the Chrome instances started by the server. For example, `1280x720`. In headless mode, max size is 3840x2160px.
653
- - **Type:** string
654
- - **Default:** `false`
655
-
656
- - **`--proxyServer`/ `--proxy-server`**
657
- Proxy server configuration for Chrome passed as --proxy-server when launching the browser. See https://www.chromium.org/developers/design-documents/network-settings/ for details.
658
- - **Type:** string
659
- - **Default:** `false`
660
-
661
- - **`--acceptInsecureCerts`/ `--accept-insecure-certs`**
662
- If enabled, ignores errors relative to self-signed and expired certificates. Use with caution.
663
- - **Type:** boolean
664
- - **Default:** `false`
665
-
666
- - **`--pageIdRouting`/ `--page-id-routing`**
667
- Require pageId on page-scoped tools and route requests by page ID (useful for concurrent agent sessions). Use --no-page-id-routing to disable.
668
- - **Type:** boolean
669
- - **Default:** `true`
670
-
671
- - **`--experimentalDevtools`/ `--experimental-devtools`**
672
- Whether to enable automation over DevTools targets
673
- - **Type:** boolean
674
- - **Default:** `false`
675
-
676
- - **`--experimentalVision`/ `--experimental-vision`**
677
- Whether to enable coordinate-based tools such as click_at(x,y). Usually requires a computer-use model able to produce accurate coordinates by looking at screenshots.
678
- - **Type:** boolean
679
- - **Default:** `false`
680
-
681
- - **`--memoryDebugging`/ `--memory-debugging`, `-experimentalMemory`**
682
- Whether to enable memory debugging tools.
683
- - **Type:** boolean
684
- - **Default:** `false`
685
-
686
- - **`--experimentalStructuredContent`/ `--experimental-structured-content`**
687
- Whether to output structured formatted content.
688
- - **Type:** boolean
689
- - **Default:** `false`
690
-
691
- - **`--experimentalIncludeAllPages`/ `--experimental-include-all-pages`**
692
- Whether to include all kinds of pages such as webviews or background pages as pages.
693
- - **Type:** boolean
694
- - **Default:** `false`
695
-
696
- - **`--experimentalScreencast`/ `--experimental-screencast`**
697
- Exposes experimental screencast tools (requires ffmpeg). Install ffmpeg https://www.ffmpeg.org/download.html and ensure it is available in the MCP server PATH.
698
- - **Type:** boolean
699
- - **Default:** `false`
700
-
701
- - **`--experimentalFfmpegPath`/ `--experimental-ffmpeg-path`**
702
- Path to ffmpeg executable for screencast recording.
703
- - **Type:** string
704
- - **Default:** `false`
705
-
706
- - **`--categoryExperimentalWebmcp`/ `--category-experimental-webmcp`**
707
- Set to true to enable debugging WebMCP tools. Requires Chrome 150+ with the following flag: `--enable-features=WebMCP`
708
- - **Type:** boolean
709
- - **Default:** `false`
710
-
711
- - **`--chromeArg`/ `--chrome-arg`**
712
- Additional arguments for Chrome. Only applies when Chrome is launched by chrome-devtools-mcp.
713
- - **Type:** array
714
- - **Default:** `false`
715
-
716
- - **`--blockedUrlPattern`/ `--blocked-url-pattern`**
717
- Restricts browser's network access by blocking specified URL patterns (uses https://urlpattern.spec.whatwg.org/). Silently detaches from targets with blocked URLs upon connection, and blocks runtime requests (including navigations and subresources). Accepts an array of patterns.
718
- - **Type:** array
719
- - **Default:** `false`
720
-
721
- - **`--allowedUrlPattern`/ `--allowed-url-pattern`**
722
- Restricts browser's network access by allowing only specified URL patterns (uses https://urlpattern.spec.whatwg.org/). Requires Chrome 149+. Silently detaches from targets with unallowed URLs upon connection, and blocks runtime requests (including navigations and subresources). Accepts an array of patterns.
723
- - **Type:** array
724
- - **Default:** `false`
725
-
726
- - **`--ignoreDefaultChromeArg`/ `--ignore-default-chrome-arg`**
727
- Explicitly disable default arguments for Chrome. Only applies when Chrome is launched by chrome-devtools-mcp.
728
- - **Type:** array
729
- - **Default:** `false`
730
-
731
- - **`--categoryEmulation`/ `--category-emulation`**
732
- Set to false to exclude tools related to emulation.
733
- - **Type:** boolean
734
- - **Default:** `true`
735
-
736
- - **`--categoryPerformance`/ `--category-performance`**
737
- Set to false to exclude tools related to performance.
738
- - **Type:** boolean
739
- - **Default:** `true`
740
-
741
- - **`--categoryNetwork`/ `--category-network`**
742
- Set to false to exclude tools related to network.
743
- - **Type:** boolean
744
- - **Default:** `true`
745
-
746
- - **`--categoryExtensions`/ `--category-extensions`**
747
- Set to true to include tools related to extensions. Note: This feature is currently only supported with a pipe connection. autoConnect, browserUrl, and wsEndpoint are not supported with this feature until 149 will be released.
748
- - **Type:** boolean
749
- - **Default:** `false`
750
-
751
- - **`--categoryExperimentalThirdParty`/ `--category-experimental-third-party`**
752
- Set to true to enable third-party developer tools exposed by the inspected page itself
753
- - **Type:** boolean
754
- - **Default:** `false`
755
-
756
- - **`--categoryPwa`/ `--category-pwa`**
757
- Set to true to include tools for automating Progressive Web Apps (install, launch, uninstall, and OS state). This feature is only supported with a pipe connection; autoConnect, browserUrl, and wsEndpoint are not supported.
758
- - **Type:** boolean
759
- - **Default:** `false`
760
-
761
- - **`--performanceCrux`/ `--performance-crux`**
762
- Set to false to disable sending URLs from performance traces to CrUX API to get field performance data.
763
- - **Type:** boolean
764
- - **Default:** `true`
765
-
766
- - **`--usageStatistics`/ `--usage-statistics`**
767
- Set to false to opt-out of usage statistics collection. Google collects usage data to improve the tool, handled under the Google Privacy Policy (https://policies.google.com/privacy). This is independent from Chrome browser metrics. Disabled if `CHROME_DEVTOOLS_MCP_NO_USAGE_STATISTICS` or `CI` env variables are set.
768
- - **Type:** boolean
769
- - **Default:** `true`
770
-
771
- - **`--screenshotFormat`/ `--screenshot-format`**
772
- Override the default output format used by take_screenshot when the caller does not specify one. JPEG and WebP are ~3-5x smaller than PNG, which helps reduce context size in AI conversations. Unset preserves the existing default ("png").
773
- - **Type:** string
774
- - **Choices:** `jpeg`, `png`, `webp`
775
- - **Default:** `false`
776
-
777
- - **`--screenshotQuality`/ `--screenshot-quality`**
778
- Override the default compression quality (0-100) used by take_screenshot for JPEG and WebP when the caller does not specify one. Lower values mean smaller files. Ignored for PNG. Unset preserves the Puppeteer default.
779
- - **Type:** number
780
- - **Default:** `false`
781
-
782
- - **`--screenshotMaxWidth`/ `--screenshot-max-width`**
783
- Maximum width in pixels for screenshots. If the captured image is wider, it is downscaled (preserving aspect ratio) before being returned. Reduces context size in AI conversations. Unset means no resize.
784
- - **Type:** number
785
- - **Default:** `false`
786
-
787
- - **`--screenshotMaxHeight`/ `--screenshot-max-height`**
788
- Maximum height in pixels for screenshots. If the captured image is taller, it is downscaled (preserving aspect ratio) before being returned. Can be combined with --screenshot-max-width; the smaller scale factor wins. Unset means no resize.
789
- - **Type:** number
790
- - **Default:** `false`
791
-
792
- - **`--slim`**
793
- Exposes a "slim" set of 3 tools covering navigation, script execution and screenshots only. Useful for basic browser tasks.
794
- - **Type:** boolean
795
- - **Default:** `false`
796
-
797
- - **`--redactNetworkHeaders`/ `--redact-network-headers`**
798
- If true, redacts some of the network headers considered sensitive before returning to the client.
799
- - **Type:** boolean
800
- - **Default:** `false`
801
-
802
- - **`--allowUnrestrictedPaths`/ `--allow-unrestricted-paths`**
803
- If set, disables the default path restriction that applies when the MCP client does not negotiate the roots capability. By default, file-writing tools are restricted to the OS temp directory when no roots are configured. Use this only when connecting a trusted local client that does not implement MCP roots and requires access to paths outside the temp directory.
804
- - **Type:** boolean
805
- - **Default:** `false`
806
-
807
- <!-- END AUTO GENERATED OPTIONS -->
808
-
809
- Pass them via the `args` property in the JSON configuration. For example:
810
-
811
- ```json
812
- {
813
- "mcpServers": {
814
- "chrome-devtools": {
815
- "command": "npx",
816
- "args": [
817
- "chrome-devtools-mcp@latest",
818
- "--channel=canary",
819
- "--headless=true",
820
- "--isolated=true"
821
- ]
822
- }
823
- }
824
- }
825
- ```
826
-
827
- ### Connecting via WebSocket with custom headers
828
-
829
- You can connect directly to a Chrome WebSocket endpoint and include custom headers (e.g., for authentication):
830
-
831
- ```json
832
- {
833
- "mcpServers": {
834
- "chrome-devtools": {
835
- "command": "npx",
836
- "args": [
837
- "chrome-devtools-mcp@latest",
838
- "--wsEndpoint=ws://127.0.0.1:9222/devtools/browser/<id>",
839
- "--wsHeaders={\"Authorization\":\"Bearer YOUR_TOKEN\"}"
840
- ]
841
- }
842
- }
843
- }
844
- ```
845
-
846
- To get the WebSocket endpoint from a running Chrome instance, visit `http://127.0.0.1:9222/json/version` and look for the `webSocketDebuggerUrl` field.
847
-
848
- You can also run `npx chrome-devtools-mcp@latest --help` to see all available configuration options.
849
-
850
- ## Concepts
851
-
852
- ### Concurrent sessions
853
-
854
- Most MCP clients start one Chrome DevTools MCP server per conversation.
855
- By default, the server runs with `--pageIdRouting` enabled, making `pageId` a
856
- required parameter on page-scoped tools (such as `click`, `fill`, `navigate_page`,
857
- `take_snapshot`, etc.) so multiple agents or subagents sharing a server instance can
858
- route tool calls directly to the specific tab they are working with.
859
-
860
- For `evaluate_script`, `pageId` is required by default for targeting pages, but
861
- becomes optional when `--categoryExtensions` is enabled so that `serviceWorkerId`
862
- can be specified instead to evaluate inside an extension background service worker.
863
-
864
- To disable this behavior and default to the currently selected page, pass
865
- `--no-page-id-routing`.
866
-
867
- ```json
868
- {
869
- "mcpServers": {
870
- "chrome-devtools": {
871
- "command": "npx",
872
- "args": ["-y", "chrome-devtools-mcp@latest"]
873
- }
874
- }
875
- }
876
- ```
877
-
878
- If you run multiple independent MCP client sessions and want each session to
879
- launch its own temporary Chrome profile, also pass `--isolated`. This avoids
880
- sharing the default Chrome DevTools MCP user data directory between those
881
- server instances.
882
-
883
- ### User data directory
884
-
885
- By default, `chrome-devtools-mcp` starts a Chrome's stable channel instance using the following user
886
- data directory:
887
-
888
- - Linux / macOS: `$HOME/.cache/chrome-devtools-mcp/chrome-profile`
889
- - Windows: `%USERPROFILE%\.cache\chrome-devtools-mcp\chrome-profile`
890
-
891
- For non-stable channels, the channel name is appended to the directory name, for example
892
- `chrome-profile-canary`.
893
-
894
- The user data directory is not cleared between runs and is reused for subsequent
895
- runs with the same channel. Only one browser can use it at a time. Set the `isolated`
896
- option to `true` to use a temporary user data directory instead which will be cleared
897
- automatically after the browser is closed.
898
-
899
- ### Connecting to a running Chrome instance
900
-
901
- By default, the Chrome DevTools MCP server will start a new Chrome instance with a dedicated profile. This might not be ideal in all situations:
902
-
903
- - If you would like to maintain the same application state when alternating between manual site testing and agent-driven testing.
904
- - When the MCP needs to sign into a website. Some accounts may prevent sign-in when the browser is controlled via WebDriver (the default launch mechanism for the Chrome DevTools MCP server).
905
- - If you're running your LLM inside a sandboxed environment, but you would like to connect to a Chrome instance that runs outside the sandbox.
906
-
907
- In these cases, start Chrome first and let the Chrome DevTools MCP server connect to it. There are two ways to do so:
908
-
909
- - **Automatic connection (available in Chrome 144)**: best for sharing state between manual and agent-driven testing.
910
- - **Manual connection via remote debugging port**: best when running inside a sandboxed environment.
911
-
912
- #### Automatically connecting to a running Chrome instance
913
-
914
- **Step 1:** Set up remote debugging in Chrome
915
-
916
- In Chrome (\>= M144), do the following to set up remote debugging:
917
-
918
- 1. Navigate to `chrome://inspect/#remote-debugging` to enable remote debugging.
919
- 2. Follow the dialog UI to allow or disallow incoming debugging connections.
920
-
921
- **Step 2:** Configure Chrome DevTools MCP server to automatically connect to a running Chrome Instance
922
-
923
- To connect the `chrome-devtools-mcp` server to the running Chrome instance, use
924
- `--autoConnect` command line argument for the MCP server.
925
-
926
- The following code snippet is an example configuration for gemini-cli:
927
-
928
- ```json
929
- {
930
- "mcpServers": {
931
- "chrome-devtools": {
932
- "command": "npx",
933
- "args": ["chrome-devtools-mcp@latest", "--autoConnect"]
934
- }
935
- }
936
- }
937
- ```
938
-
939
- **Step 3:** Test your setup
940
-
941
- Make sure your browser is running. Open gemini-cli and run the following prompt:
942
-
943
- ```none
944
- Check the performance of https://developers.chrome.com
945
- ```
946
-
947
- > [!NOTE]
948
- > The <code>autoConnect</code> option requires the user to start Chrome. If the user has multiple active profiles, the MCP server will connect to the default profile (as determined by Chrome). The MCP server has access to all open windows for the selected profile.
949
-
950
- The Chrome DevTools MCP server will try to connect to your running Chrome
951
- instance. It shows a dialog asking for user permission.
952
-
953
- Clicking **Allow** results in the Chrome DevTools MCP server opening
954
- [developers.chrome.com](http://developers.chrome.com) and taking a performance
955
- trace.
956
-
957
- #### Manual connection using port forwarding
958
-
959
- You can connect to a running Chrome instance by using the `--browser-url` option. This is useful if you are running the MCP server in a sandboxed environment that does not allow starting a new Chrome instance.
960
-
961
- Here is a step-by-step guide on how to connect to a running Chrome instance:
962
-
963
- **Step 1: Configure the MCP client**
964
-
965
- Add the `--browser-url` option to your MCP client configuration. The value of this option should be the URL of the running Chrome instance. `http://127.0.0.1:9222` is a common default.
966
-
967
- ```json
968
- {
969
- "mcpServers": {
970
- "chrome-devtools": {
971
- "command": "npx",
972
- "args": [
973
- "chrome-devtools-mcp@latest",
974
- "--browser-url=http://127.0.0.1:9222"
975
- ]
976
- }
977
- }
978
- }
979
- ```
980
-
981
- **Step 2: Start the Chrome browser**
982
-
983
- > [!WARNING]
984
- > Enabling the remote debugging port opens up a debugging port on the running browser instance. Any application on your machine can connect to this port and control the browser. Make sure that you are not browsing any sensitive websites while the debugging port is open.
125
+ Find the complete list of server parameters (e.g., `--headless`, `--isolated`, `--slim`) and how to configure WebSocket connections in the [Configuration Guide][configuration-guide].
985
126
 
986
- Start the Chrome browser with the remote debugging port enabled. Make sure to close any running Chrome instances before starting a new one with the debugging port enabled. The port number you choose must be the same as the one you specified in the `--browser-url` option in your MCP client configuration.
127
+ ## Advanced Usage
987
128
 
988
- For security reasons, [Chrome requires you to use a non-default user data directory](https://developer.chrome.com/blog/remote-debugging-port) when enabling the remote debugging port. You can specify a custom directory using the `--user-data-dir` flag. This ensures that your regular browsing profile and data are not exposed to the debugging session.
989
-
990
- **macOS**
991
-
992
- ```bash
993
- /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --remote-debugging-port=9222 --user-data-dir=/tmp/chrome-profile-stable
994
- ```
995
-
996
- **Linux**
997
-
998
- ```bash
999
- /usr/bin/google-chrome --remote-debugging-port=9222 --user-data-dir=/tmp/chrome-profile-stable
1000
- ```
1001
-
1002
- **Windows**
1003
-
1004
- ```bash
1005
- "C:\Program Files\Google\Chrome\Application\chrome.exe" --remote-debugging-port=9222 --user-data-dir="%TEMP%\chrome-profile-stable"
1006
- ```
1007
-
1008
- **Step 3: Test your setup**
1009
-
1010
- After configuring the MCP client and starting the Chrome browser, you can test your setup by running a simple prompt in your MCP client:
1011
-
1012
- ```
1013
- Check the performance of https://developers.chrome.com
1014
- ```
1015
-
1016
- Your MCP client should connect to the running Chrome instance and receive a performance report.
1017
-
1018
- If you hit VM-to-host port forwarding issues, see the “Remote debugging between virtual machine (VM) and host fails” section in [`docs/troubleshooting.md`](./docs/troubleshooting.md#remote-debugging-between-virtual-machine-vm-and-host-fails).
1019
-
1020
- For more details on remote debugging, see the [Chrome DevTools documentation](https://developer.chrome.com/docs/devtools/remote-debugging/).
1021
-
1022
- ### Debugging Chrome on Android
1023
-
1024
- Please consult [these instructions](./docs/debugging-android.md).
1025
-
1026
- ## Known limitations
1027
-
1028
- See [Troubleshooting](./docs/troubleshooting.md).
129
+ For advanced features such as handling concurrent sessions, persistent user data directories, connecting to a running Chrome instance instead of starting a new one, or debugging on Android, see our [Advanced Usage Guide][advanced-usage-guide].
1029
130
 
1030
131
  ## Integrating as a browser subagent
1031
132
 
1032
133
  If you are developing agentic tooling and want to provide an integrated browser subagent as part of your product, we recommend building on top of Chrome DevTools for agents.
1033
134
 
1034
135
  For a reference implementation, see the [Gemini CLI browser agent documentation](https://geminicli.com/docs/core/subagents/#browser-agent).
136
+
137
+ [advanced-usage-guide]: ./docs/advanced-usage.md
138
+ [changelog]: ./CHANGELOG.md
139
+ [cli]: ./docs/cli.md
140
+ [client-configurations-guide]: ./docs/client-configurations.md
141
+ [configuration-guide]: ./docs/configuration.md
142
+ [contributing]: ./CONTRIBUTING.md
143
+ [design-principles]: ./docs/design-principles.md
144
+ [slim-tool-reference]: ./docs/slim-tool-reference.md
145
+ [tool-reference]: ./docs/tool-reference.md
146
+ [troubleshooting]: ./docs/troubleshooting.md