Chrome Remote Interface v0.1.0 ChromeRemoteInterface.RPC.Audits View Source

Audits domain allows investigation of page violations and possible improvements.

Link to this section Summary

Functions

Returns the response body and size if it were re-encoded with the specified settings. Only applies to images

Link to this section Functions

Link to this function getEncodedResponse(page_pid) View Source

Returns the response body and size if it were re-encoded with the specified settings. Only applies to images.

Parameters: requestId - - Identifier of the network request to get content for.encoding - - The encoding to use.quality - - The quality of the encoding (0-1). (defaults to 1)sizeOnly - - Whether to only return the size information (defaults to false).

Link to this function getEncodedResponse(page_pid, parameters) View Source
Link to this function getEncodedResponse(page_pid, parameters, opts) View Source