mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
1.4 KiB
1.4 KiB
Home > puppeteer > Protocol > Network > EmulateNetworkConditionsRequest
Protocol.Network.EmulateNetworkConditionsRequest interface
Signature:
export interface EmulateNetworkConditionsRequest
Properties
Property | Type | Description |
---|---|---|
connectionType | ConnectionType | Connection type if known. |
downloadThroughput | number | Maximal aggregated download throughput (bytes/sec). -1 disables download throttling. |
latency | number | Minimum latency from request sent to response headers received (ms). |
offline | boolean | True to emulate internet disconnection. |
uploadThroughput | number | Maximal aggregated upload throughput (bytes/sec). -1 disables upload throttling. |