fix: make bringToFront optional in select_page#668
Merged
Conversation
85a745c to
b080fef
Compare
b080fef to
2338bb8
Compare
2338bb8 to
b0709db
Compare
Lightning00Blade
approved these changes
Dec 12, 2025
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).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.