豆豆友情提示:这是一个非官方 GitHub 代理镜像,主要用于网络测试或访问加速。请勿在此进行登录、注册或处理任何敏感信息。进行这些操作请务必访问官方网站 github.com。 Raw 内容也通过此代理提供。
Skip to content

fix: make bringToFront optional in select_page#668

Merged
OrKoN merged 1 commit intomainfrom
orkon/fix-select-page
Dec 12, 2025
Merged

fix: make bringToFront optional in select_page#668
OrKoN merged 1 commit intomainfrom
orkon/fix-select-page

Conversation

@OrKoN
Copy link
Copy Markdown
Collaborator

@OrKoN OrKoN commented Dec 11, 2025

bringToFront() not only brings the tab to front in the browser but also the browser window itself. This PR fixes the issue by making the call to bringToFront() optional allowing agents to bring a tab to the user's attention if needed but not always. To mitigate the risk of selected page that is in the background being throttled, this PR implements emulation of the focused page to make background tabs run as usual.

@OrKoN OrKoN force-pushed the orkon/fix-select-page branch 3 times, most recently from 85a745c to b080fef Compare December 12, 2025 09:18
@OrKoN OrKoN force-pushed the orkon/fix-select-page branch from b080fef to 2338bb8 Compare December 12, 2025 10:37
@OrKoN OrKoN force-pushed the orkon/fix-select-page branch from 2338bb8 to b0709db Compare December 12, 2025 10:42
@OrKoN OrKoN enabled auto-merge (squash) December 12, 2025 11:02
@OrKoN OrKoN merged commit ceae17b into main Dec 12, 2025
31 of 33 checks passed
@OrKoN OrKoN deleted the orkon/fix-select-page branch December 12, 2025 11:04
OrKoN pushed a commit that referenced this pull request Dec 12, 2025
🤖 I have created a release *beep* *boop*
---


##
[0.12.1](chrome-devtools-mcp-v0.12.0...chrome-devtools-mcp-v0.12.1)
(2025-12-12)


### 🛠️ Fixes

* catch unexpected error in event handlers
([#672](#672))
([ca0f560](ca0f560))
* log unhandledRejection instead of crashing
([#673](#673))
([f59b4a2](f59b4a2))
* make bringToFront optional in select_page
([#668](#668))
([ceae17b](ceae17b))
* Update installation badges in README.md for VS Code
([#660](#660))
([61ede1c](61ede1c))


### 📄 Documentation

* Add debug instructions
([#670](#670))
([a8aae66](a8aae66))
* explain new auto connection feature
([#664](#664))
([a537a8c](a537a8c))

---
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.

2 participants