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
Copy file name to clipboardExpand all lines: src/bin/chrome-devtools-mcp-cli-options.ts
+6-5Lines changed: 6 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ export const cliOptions = {
12
12
type: 'boolean',
13
13
description:
14
14
'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 remoted debugging server to be started in the Chrome instance via chrome://inspect/#remote-debugging.',
'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.',
28
28
alias: 'u',
29
-
conflicts: 'wsEndpoint',
29
+
conflicts: ['wsEndpoint','categoryExtensions'],
30
30
coerce: (url: string|undefined)=>{
31
31
if(!url){
32
32
return;
@@ -44,7 +44,7 @@ export const cliOptions = {
44
44
description:
45
45
'WebSocket endpoint to connect to a running Chrome instance (e.g., ws://127.0.0.1:9222/devtools/browser/<id>). Alternative to --browserUrl.',
46
46
alias: 'w',
47
-
conflicts: 'browserUrl',
47
+
conflicts: ['browserUrl','categoryExtensions'],
48
48
coerce: (url: string|undefined)=>{
49
49
if(!url){
50
50
return;
@@ -211,9 +211,10 @@ export const cliOptions = {
211
211
},
212
212
categoryExtensions: {
213
213
type: 'boolean',
214
-
default: false,
215
214
hidden: true,
216
-
describe: 'Set to false to exclude tools related to extensions.',
0 commit comments