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'"
      ]
    }
  }
}

Feedback appreciated @OrKoN

@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
@OrKoN OrKoN force-pushed the disable-default-args branch from bce1216 to 517e528 Compare January 12, 2026 08:48
@OrKoN OrKoN self-requested a review January 12, 2026 08:48
Copy link
Collaborator

@OrKoN OrKoN left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! it looks like the docs have to be rebuilt. Please run npm run docs

@0xlakshan
Copy link
Contributor Author

Done, Thank you for the feedback @OrKoN

@OrKoN OrKoN enabled auto-merge January 12, 2026 10:04
@OrKoN OrKoN added this pull request to the merge queue Jan 12, 2026
Merged via the queue into ChromeDevTools:main with commit 9a51af2 Jan 12, 2026
17 checks passed
github-merge-queue bot pushed a commit that referenced this pull request Jan 15, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.13.0](chrome-devtools-mcp-v0.12.1...chrome-devtools-mcp-v0.13.0)
(2026-01-14)


### 🎉 Features

* Allow opting out of default Chrome launch arguments
([#729](#729))
([9a51af2](9a51af2))
* support filePath in performance tools
([#686](#686))
([68ae2f8](68ae2f8))


### 🛠️ Fixes

* support resize_page when browser window is maximized/fullscreenwindow
state
([#748](#748))
([4d9ac22](4d9ac22))
* use relative path for plugin source in marketplace
([#724](#724))
([5c1ecf8](5c1ecf8))


### 📄 Documentation

* add experimental chrome on android guide
([#691](#691))
([4a87702](4a87702))
* autoConnect - clarify how the mcp server selects a profile
([#693](#693))
([28b8ff8](28b8ff8))
* claude code broken link
([#707](#707))
([1f532b8](1f532b8))
* enhance cli docs + sort required vs opt params
([#674](#674))
([81cbd99](81cbd99))
* update auto connect docs to mention min Chrome version
([#681](#681))
([ab2340f](ab2340f))
* Update Claude Code instructions in README.md
([#711](#711))
([f81cd2d](f81cd2d))
* update readme to include OpenCode example
([#560](#560))
([fbba3c9](fbba3c9))


### ♻️ Chores

* change pageIdx to page ids
([#741](#741))
([a23c6ba](a23c6ba))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
Copy link

@zainudinmuji4-commits zainudinmuji4-commits left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

README.md

.github/dependabot.yml

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.

3 participants