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