Skip to content

Commit 104a6df

Browse files
committed
Fix browserUrl not working
Setting the default channel in the CLI resulted in our mutually exclusive check for browserUrl and channel to fail.
1 parent 2275553 commit 104a6df

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,10 +156,9 @@ The Chrome DevTools MCP server supports the following configuration option:
156156
- **Default:** `false`
157157

158158
- **`--channel`**
159-
Specify a different Chrome channel that should be used.
159+
Specify a different Chrome channel that should be used. The default is the stable channel version.
160160
- **Type:** string
161161
- **Choices:** `stable`, `canary`, `beta`, `dev`
162-
- **Default:** `stable`
163162

164163
<!-- END AUTO GENERATED OPTIONS -->
165164

src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,10 @@ export const cliOptions = {
7272
},
7373
channel: {
7474
type: 'string' as const,
75-
description: 'Specify a different Chrome channel that should be used.',
75+
description:
76+
'Specify a different Chrome channel that should be used. The default is the stable channel version.',
7677
choices: ['stable', 'canary', 'beta', 'dev'] as const,
7778
conflicts: ['browserUrl', 'executablePath'],
78-
default: 'stable',
7979
},
8080
logFile: {
8181
type: 'string' as const,

0 commit comments

Comments
 (0)