Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
interface default.Network.EmulateNetworkConditionsRequest
import { type default } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.d.ts";
const { EmulateNetworkConditionsRequest } = default.Network;

Properties

offline: boolean

True to emulate internet disconnection.

latency: number

Minimum latency from request sent to response headers received (ms).

downloadThroughput: number

Maximal aggregated download throughput (bytes/sec). -1 disables download throttling.

uploadThroughput: number

Maximal aggregated upload throughput (bytes/sec). -1 disables upload throttling.

optional
connectionType: ConnectionType

Connection type if known.