File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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' ,
You can’t perform that action at this time.
0 commit comments