Skip to content

Commit 5d94acb

Browse files
committed
cli
1 parent fbba3c9 commit 5d94acb

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

src/cli.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,11 @@ export const cliOptions = {
163163
describe:
164164
'Additional arguments for Chrome. Only applies when Chrome is launched by chrome-devtools-mcp.',
165165
},
166+
ignoreDefaultChromeArg: {
167+
type: 'array',
168+
describe:
169+
'Explicitly disable default arguments for Chrome. Only applies when Chrome is launched by chrome-devtools-mcp.',
170+
},
166171
categoryEmulation: {
167172
type: 'boolean',
168173
default: true,
@@ -224,6 +229,10 @@ export function parseArguments(version: string, argv = process.argv) {
224229
`$0 --chrome-arg='--no-sandbox' --chrome-arg='--disable-setuid-sandbox'`,
225230
'Launch Chrome without sandboxes. Use with caution.',
226231
],
232+
[
233+
`$0 --ignore-default-chrome-arg='--disable-extensions'`,
234+
'Disable the default arguments provided by Puppeteer. Use with caution.',
235+
],
227236
['$0 --no-category-emulation', 'Disable tools in the emulation category'],
228237
[
229238
'$0 --no-category-performance',

0 commit comments

Comments
 (0)