puppeteer/new-docs/puppeteer.protocol.audits.getencodedresponserequest.md
2020-07-13 14:01:35 +01:00

1.2 KiB

Home > puppeteer > Protocol > Audits > GetEncodedResponseRequest

Protocol.Audits.GetEncodedResponseRequest interface

Signature:

export interface GetEncodedResponseRequest 

Properties

Property Type Description
encoding ('webp' | 'jpeg' | 'png') The encoding to use.
quality number The quality of the encoding (0-1). (defaults to 1)
requestId Network.RequestId Identifier of the network request to get content for.
sizeOnly boolean Whether to only return the size information (defaults to false).