Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
interface default.Audits.GetEncodedResponseRequest
import { type default } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.d.ts";
const { GetEncodedResponseRequest } = default.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).