Skip to content

Conversation

iamitesh
Copy link
Contributor

#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

Copy link

google-cla bot commented Oct 10, 2025

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.

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!

@OrKoN OrKoN merged commit 139ce60 into ChromeDevTools:main Oct 10, 2025
17 checks passed
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).
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