Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Go to Latest
interface Protocol.Network.EmulateNetworkConditionsRequest
import { type Protocol } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.js";
const { EmulateNetworkConditionsRequest } = Protocol.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.