net_throttle
Simulate network and CPU conditions for a browsing session to test performance under throttling. Use presets or custom latency, throughput, and CPU slowdown; reset to full speed with 'none'.
Instructions
Emulate network + CPU conditions for the session (CDP). Use a preset (offline / slow-3g / fast-3g / fast-4g / none), or custom throughput+latency, plus an optional CPU slowdown factor (max 20x). 'none' (the default) resets everything back to full speed. The state persists across page_goto/reload until reset or the session closes (page_state shows it).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| preset | No | canned profile; default 'none' resets to full speed | |
| cpuRate | No | CPU slowdown factor: 1 = none, 4 = 4x slower (max 20) | |
| offline | No | cut the network entirely (independent of preset) | |
| latencyMs | No | custom added latency, ms | |
| sessionId | No | ||
| uploadKbps | No | custom upload throughput, kilobits/s | |
| downloadKbps | No | custom download throughput, kilobits/s |