Skip to content

Conversation

@domdomegg
Copy link
Contributor

Summary

  • Add background boolean parameter to the new_page tool
  • When set to true, the new page opens in the background without bringing it to the front
  • Uses Puppeteer's existing background option for browser.newPage()

Fixes #826

Add support for opening pages in the background without bringing them
to the front, similar to cmd+click behavior in Chrome.

This uses Puppeteer's existing background option for browser.newPage().

Fixes ChromeDevTools#826
@domdomegg domdomegg changed the title Add background parameter to new_page tool feat: add background parameter to new_page tool Jan 26, 2026
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! One suggestion is to inform the clients about the default behavior.

domdomegg and others added 2 commits January 26, 2026 15:10
Co-authored-by: Alex Rudenko <OrKoN@users.noreply.github.com>
@OrKoN OrKoN enabled auto-merge January 26, 2026 15:45
@OrKoN OrKoN added this pull request to the merge queue Jan 26, 2026
Merged via the queue into ChromeDevTools:main with commit d756888 Jan 26, 2026
28 of 30 checks passed
github-merge-queue bot pushed a commit that referenced this pull request Jan 27, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.14.0](chrome-devtools-mcp-v0.13.0...chrome-devtools-mcp-v0.14.0)
(2026-01-27)


### 🎉 Features

* add a skill for using chrome-devtools-mcp
([#830](#830))
([aa0a367](aa0a367))
* add background parameter to new_page tool
([#837](#837))
([d756888](d756888))
* allow skipping snapshot generation for input tools
([#821](#821))
([4b8e9f2](4b8e9f2))
* include stack trace in 'get_console_message' tool
([#740](#740))
([a3a0021](a3a0021))
* support device viewport and user agent emulation
([#798](#798))
([a816967](a816967))
* support filePath for network request and response bodies
([#795](#795))
([6d0e4ca](6d0e4ca))


### 🛠️ Fixes

* handle beforeunload dialogs in navigations
([#788](#788))
([9b21f8b](9b21f8b))
* improve error handling for console messages
([#844](#844))
([dc43ede](dc43ede))
* improve error reporting when retrieving the element
([#845](#845))
([f7dd003](f7dd003))
* improve performance tool description
([#800](#800))
([aa9a176](aa9a176))
* increase timeouts for long text input
([#787](#787))
([a83a338](a83a338))
* make request and response handling more robust
([#846](#846))
([695817f](695817f))
* re-use node ids across snapshots
([#814](#814))
([a6cd2cd](a6cd2cd))


### 📄 Documentation

* add a mention of evals into contributing.md
([#773](#773))
([9a31ac7](9a31ac7))
* document how to add extensions to gemini-cli
([#834](#834))
([0610d11](0610d11))
* update auto-connect docs
([#779](#779))
([a106fba](a106fba))
* Update README.md to include a link to Android debugging
([#783](#783))
([6e52e66](6e52e66))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
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.

Feature request: Open new_page in background, similar to cmd+click in Chrome

2 participants