Extremely Popular
Go to Latest
interface puppeteer.Audits.GetEncodedResponseRequest
import { type puppeteer } from "https://dotland.deno.dev/x/fresh@1.0.2/tests/deps.ts";
const { GetEncodedResponseRequest } = puppeteer.Audits;

Properties

Identifier of the network request to get content for.

encoding: ("webp" | "jpeg" | "png")

The encoding to use. (GetEncodedResponseRequestEncoding enum)

optional
quality: number

The quality of the encoding (0-1). (defaults to 1)

optional
sizeOnly: boolean

Whether to only return the size information (defaults to false).