Skip to content

Conversation

@0xlakshan
Copy link
Contributor

@0xlakshan 0xlakshan commented Jan 5, 2026

Related Issue - #430

Description

When Chrome is launched via Puppeteer, it automatically adds a set of default flags like --enable-automation --disable-extensions --disable-component-extensions-with-background-pages.

Currently, there is no way to opt out of these defaults, which makes certain use cases difficult or impossible to support. this PR adds a way to selectively ignore specific default Chrome launch flags applied by Puppeteer using its ignoreDefaultArgs property.

{
  "name": "chrome-devtools-mcp",
  "version": "latest",
  "mcpServers": {
    "chrome-devtools": {
      "command": "npx",
      "args": [
        "chrome-devtools-mcp@latest",
        "--ignore-default-chrome-arg='--enable-automation'",
        "--ignore-default-chrome-arg='--disable-extensions'"
      ]
    }
  }
}

@0xlakshan 0xlakshan marked this pull request as ready for review January 8, 2026 17:08
@0xlakshan 0xlakshan changed the title feat: disable default arguments set by puppeteer feat: Allow opting out of default Chrome launch arguments Jan 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant