You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: avoid evaluate sync deadlock and handle dialog rejections
Replaced `alert()` with `setTimeout(() => alert(), 10)` in `script.test.ts` to prevent headless Chromium deadlocks during `evaluate` in CI environments. Additionally added `.catch(logger)` when resolving dialog actions to prevent unhandled promise rejections if the dialog closes too quickly or fails.
Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
Copy file name to clipboardExpand all lines: README.md
+6-31Lines changed: 6 additions & 31 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -51,12 +51,7 @@ Google handles this data in accordance with the [Google Privacy Policy](https://
51
51
52
52
Google's collection of usage statistics for Chrome DevTools MCP is independent from the Chrome browser's usage statistics. Opting out of Chrome metrics does not automatically opt you out of this tool, and vice-versa.
53
53
54
-
Collection is disabled if `CHROME_DEVTOOLS_MCP_NO_USAGE_STATISTICS` or `CI` env variables are set.
55
-
56
-
## Update checks
57
-
58
-
By default, the server periodically checks the npm registry for updates and logs a notification when a newer version is available.
59
-
You can disable these update checks by setting the `CHROME_DEVTOOLS_MCP_NO_UPDATE_CHECKS` environment variable.
54
+
Collection is disabled if CHROME_DEVTOOLS_MCP_NO_USAGE_STATISTICS or CI env variables are set.
60
55
61
56
## Requirements
62
57
@@ -240,22 +235,6 @@ Configure the following fields and press `CTRL+S` to save the configuration:
240
235
<details>
241
236
<summary>Copilot / VS Code</summary>
242
237
243
-
**Install as a Plugin (Recommended)**
244
-
245
-
The easiest way to get up and running is to install `chrome-devtools-mcp` as an agent plugin.
246
-
This bundles the **MCP server** and all **skills** together, so your agent gets both the tools
247
-
and the expert guidance it needs to use them effectively.
248
-
249
-
1. Open the **Command Palette** (`Cmd+Shift+P` on macOS or `Ctrl+Shift+P` on Windows/Linux).
250
-
2. Search for and run the **Chat: Install Plugin From Source** command.
251
-
3. Paste in our repository URL: `https://github.com/ChromeDevTools/chrome-devtools-mcp`
252
-
253
-
That's it! Your agent is now supercharged with Chrome DevTools capabilities.
254
-
255
-
---
256
-
257
-
**Install as an MCP Server (MCP only)**
258
-
259
238
**Click the button to install:**
260
239
261
240
[<imgsrc="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)
@@ -264,7 +243,8 @@ That's it! Your agent is now supercharged with Chrome DevTools capabilities.
264
243
265
244
**Or install manually:**
266
245
267
-
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:
246
+
Follow the MCP install <ahref="https://code.visualstudio.com/docs/copilot/chat/mcp-servers#_add-an-mcp-server">guide</a>,
247
+
with the standard config from above. You can also install the Chrome DevTools MCP server using the VS Code CLI:
[<imgsrc="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)
406
+
**Click the button to install:**
429
407
408
+
[<imgsrc="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)
430
409
</details>
431
410
432
411
<details>
@@ -560,10 +539,6 @@ The Chrome DevTools MCP server supports the following configuration option:
560
539
If enabled, ignores errors relative to self-signed and expired certificates. Use with caution.
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.
Exposes experimental screencast tools (requires ffmpeg). Install ffmpeg https://www.ffmpeg.org/download.html and ensure it is available in the MCP server PATH.
569
544
-**Type:** boolean
@@ -597,7 +572,7 @@ The Chrome DevTools MCP server supports the following configuration option:
597
572
-**Default:**`true`
598
573
599
574
-**`--usageStatistics`/ `--usage-statistics`**
600
-
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.
575
+
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.
0 commit comments