Network.emulateNetworkConditions
Activates emulation of network conditions.
{
"name": "emulateNetworkConditions",
"description": "Activates emulation of network conditions.",
"parameters": [
{
"name": "offline",
"type": "boolean",
"description": "True to emulate internet disconnection."
},
{
"name": "latency",
"type": "number",
"description": "Minimum latency from request sent to response headers received (ms)."
},
{
"name": "downloadThroughput",
"type": "number",
"description": "Maximal aggregated download throughput (bytes/sec). -1 disables download throttling."
},
{
"name": "uploadThroughput",
"type": "number",
"description": "Maximal aggregated upload throughput (bytes/sec). -1 disables upload throttling."
},
{
"name": "connectionType",
"$ref": "ConnectionType",
"optional": true,
"description": "Connection type if known."
}
]
}