Skip to content

Commit 61fbc1f

Browse files
0xlakshanOrKoN
authored andcommitted
cli
1 parent c74f72e commit 61fbc1f

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
@@ -168,6 +168,11 @@ export const cliOptions = {
168168
describe:
169169
'Additional arguments for Chrome. Only applies when Chrome is launched by chrome-devtools-mcp.',
170170
},
171+
ignoreDefaultChromeArg: {
172+
type: 'array',
173+
describe:
174+
'Explicitly disable default arguments for Chrome. Only applies when Chrome is launched by chrome-devtools-mcp.',
175+
},
171176
categoryEmulation: {
172177
type: 'boolean',
173178
default: true,
@@ -229,6 +234,10 @@ export function parseArguments(version: string, argv = process.argv) {
229234
`$0 --chrome-arg='--no-sandbox' --chrome-arg='--disable-setuid-sandbox'`,
230235
'Launch Chrome without sandboxes. Use with caution.',
231236
],
237+
[
238+
`$0 --ignore-default-chrome-arg='--disable-extensions'`,
239+
'Disable the default arguments provided by Puppeteer. Use with caution.',
240+
],
232241
['$0 --no-category-emulation', 'Disable tools in the emulation category'],
233242
[
234243
'$0 --no-category-performance',

0 commit comments

Comments
 (0)