puppeteer/new-docs/puppeteer.protocol.network.emulatenetworkconditionsrequest.md

23 lines
1.4 KiB
Markdown
Raw Normal View History

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [Protocol](./puppeteer.protocol.md) &gt; [Network](./puppeteer.protocol.network.md) &gt; [EmulateNetworkConditionsRequest](./puppeteer.protocol.network.emulatenetworkconditionsrequest.md)
## Protocol.Network.EmulateNetworkConditionsRequest interface
<b>Signature:</b>
```typescript
export interface EmulateNetworkConditionsRequest
```
## Properties
| Property | Type | Description |
| --- | --- | --- |
| [connectionType](./puppeteer.protocol.network.emulatenetworkconditionsrequest.connectiontype.md) | [ConnectionType](./puppeteer.protocol.network.connectiontype.md) | Connection type if known. |
| [downloadThroughput](./puppeteer.protocol.network.emulatenetworkconditionsrequest.downloadthroughput.md) | number | Maximal aggregated download throughput (bytes/sec). -1 disables download throttling. |
| [latency](./puppeteer.protocol.network.emulatenetworkconditionsrequest.latency.md) | number | Minimum latency from request sent to response headers received (ms). |
| [offline](./puppeteer.protocol.network.emulatenetworkconditionsrequest.offline.md) | boolean | True to emulate internet disconnection. |
| [uploadThroughput](./puppeteer.protocol.network.emulatenetworkconditionsrequest.uploadthroughput.md) | number | Maximal aggregated upload throughput (bytes/sec). -1 disables upload throttling. |