emulate_network
Throttle network speed to simulate offline, 3G, 4G, or custom conditions for testing page performance.
Instructions
Throttle network via CDP Network.emulateNetworkConditions.
Presets match Chrome DevTools device mode (offline/slow-3g/3g/slow-4g/4g/wifi).
Pass preset="no-throttle" to reset. Override individual knobs with
latency_ms / download_bps / upload_bps.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| preset | No | 4g | |
| latency_ms | No | ||
| download_bps | No | ||
| upload_bps | No |
Output Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |