Chrome DevTools for coding agents
chore(webmcp): s/enable-features=WebMCPTesting/enable-features=WebMCP/g (#2223)
François Beaufort163a581cc1ce
diff --git a/README.md b/README.mdindex 48340e3b..b9bf3b23 100644--- a/README.md+++ b/README.md@@ -633,7 +633,7 @@ The Chrome DevTools MCP server supports the following configuration option:- **Type:** string- **`--categoryExperimentalWebmcp`/ `--category-experimental-webmcp`**- Set to true to enable debugging WebMCP tools. Requires Chrome 149+ with the following flags: `--enable-features=WebMCPTesting,DevToolsWebMCPSupport`+ Set to true to enable debugging WebMCP tools. Requires Chrome 149+ with the following flags: `--enable-features=WebMCP,DevToolsWebMCPSupport`- **Type:** boolean- **`--chromeArg`/ `--chrome-arg`**diff --git a/src/bin/chrome-devtools-mcp-cli-options.ts b/src/bin/chrome-devtools-mcp-cli-options.tsindex 47c29ae8..6c446873 100644--- a/src/bin/chrome-devtools-mcp-cli-options.ts+++ b/src/bin/chrome-devtools-mcp-cli-options.ts@@ -204,7 +204,7 @@ export const cliOptions = {categoryExperimentalWebmcp: {type: 'boolean',describe:- 'Set to true to enable debugging WebMCP tools. Requires Chrome 149+ with the following flags: `--enable-features=WebMCPTesting,DevToolsWebMCPSupport`',+ 'Set to true to enable debugging WebMCP tools. Requires Chrome 149+ with the following flags: `--enable-features=WebMCP,DevToolsWebMCPSupport`',},chromeArg: {type: 'array',diff --git a/tests/McpResponse.test.ts b/tests/McpResponse.test.tsindex 1d1e6703..89920362 100644--- a/tests/McpResponse.test.ts+++ b/tests/McpResponse.test.ts@@ -1502,7 +1502,7 @@ describe('webmcp', () => {),);},- {args: ['--enable-features=WebMCPTesting,DevToolsWebMCPSupport']},+ {args: ['--enable-features=WebMCP,DevToolsWebMCPSupport']},parseArguments,);}@@ -1567,7 +1567,7 @@ describe('webmcp', () => {),);},- {args: ['--enable-features=WebMCPTesting,DevToolsWebMCPSupport']},+ {args: ['--enable-features=WebMCP,DevToolsWebMCPSupport']},{categoryExperimentalWebmcp: true} as ParsedArguments,);});diff --git a/tests/tools/webmcp.test.ts b/tests/tools/webmcp.test.tsindex c7728882..09b7524e 100644--- a/tests/tools/webmcp.test.ts+++ b/tests/tools/webmcp.test.ts@@ -77,7 +77,7 @@ describe('webmcp', () => {JSON.stringify({status: 'Completed', output: 'hello'}, null, 2),);},- {args: ['--enable-features=WebMCPTesting,DevToolsWebMCPSupport']},+ {args: ['--enable-features=WebMCP,DevToolsWebMCPSupport']},{categoryExperimentalWebmcp: true} as ParsedArguments,);});@@ -99,7 +99,7 @@ describe('webmcp', () => {{message: /Tool missing-tool not found/},);},- {args: ['--enable-features=WebMCPTesting,DevToolsWebMCPSupport']},+ {args: ['--enable-features=WebMCP,DevToolsWebMCPSupport']},{categoryExperimentalWebmcp: true} as ParsedArguments,);});@@ -124,7 +124,7 @@ describe('webmcp', () => {},);},- {args: ['--enable-features=WebMCPTesting,DevToolsWebMCPSupport']},+ {args: ['--enable-features=WebMCP,DevToolsWebMCPSupport']},{categoryExperimentalWebmcp: true} as ParsedArguments,);});