feat: Add offline network emulation support to emulate_network command#326
Merged
OrKoN merged 1 commit intoChromeDevTools:mainfrom Oct 10, 2025
Merged
feat: Add offline network emulation support to emulate_network command#326OrKoN merged 1 commit intoChromeDevTools:mainfrom
OrKoN merged 1 commit intoChromeDevTools:mainfrom
Conversation
|
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
OrKoN
pushed a commit
that referenced
this pull request
Oct 10, 2025
🤖 I have created a release *beep* *boop* --- ## [0.7.0](chrome-devtools-mcp-v0.6.1...chrome-devtools-mcp-v0.7.0) (2025-10-10) ### Features * Add offline network emulation support to emulate_network command ([#326](#326)) ([139ce60](139ce60)) * add request and response body ([#267](#267)) ([dd3c143](dd3c143)) ### Bug Fixes * ordering of information in performance trace summary ([#334](#334)) ([2d4484a](2d4484a)) * publishing to MCP registry ([#313](#313)) ([1faec78](1faec78)) * use default ProtocolTimeout ([#315](#315)) ([a525f19](a525f19)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
AlinaVarkki
pushed a commit
that referenced
this pull request
Oct 13, 2025
#326) #320 Issue: It would be very useful to have the ability to simulate offline network conditions directly through the MCP emulate_network command, similar to how it's possible in DevTools. Currently, the command doesn’t support an Offline state, which limits testing for PWA and offline-first web applications. Adding this option would make it easier to automate and validate offline behavior through MCP scripts or tools that rely on this API. Solution - Add 'Offline' option to throttlingOptions for simulating offline network conditions - Update emulate_network tool to handle offline mode with proper network conditions - Update documentation to include offline option and usage instructions - Add test coverage for offline network emulation functionality - Enable testing of PWA and offline-first web applications through MCP
AlinaVarkki
pushed a commit
that referenced
this pull request
Oct 13, 2025
🤖 I have created a release *beep* *boop* --- ## [0.7.0](chrome-devtools-mcp-v0.6.1...chrome-devtools-mcp-v0.7.0) (2025-10-10) ### Features * Add offline network emulation support to emulate_network command ([#326](#326)) ([139ce60](139ce60)) * add request and response body ([#267](#267)) ([dd3c143](dd3c143)) ### Bug Fixes * ordering of information in performance trace summary ([#334](#334)) ([2d4484a](2d4484a)) * publishing to MCP registry ([#313](#313)) ([1faec78](1faec78)) * use default ProtocolTimeout ([#315](#315)) ([a525f19](a525f19)) --- 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.
#320
Issue:
It would be very useful to have the ability to simulate offline network conditions directly through the MCP emulate_network command, similar to how it's possible in DevTools.
Currently, the command doesn’t support an Offline state, which limits testing for PWA and offline-first web applications. Adding this option would make it easier to automate and validate offline behavior through MCP scripts or tools that rely on this API.
Solution