Home Reference Source
public class | since chrome-remote-interface-extra | source

Audits

Audits domain allows investigation of page violations and possible improvements. EXPERIMENTAL

See:

Constructor Summary

Public Constructor
public

constructor(client: Chrome | CRIConnection | CDPSession | Object)

Member Summary

Private Members
private
private

Method Summary

Public Methods
public

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

Public Constructors

public constructor(client: Chrome | CRIConnection | CDPSession | Object) source

Params:

NameTypeAttributeDescription
client Chrome | CRIConnection | CDPSession | Object

Private Members

private _allowedEncodings: Set<string> source

private _client: Chrome | CRIConnection | CDPSession | Object source

Public Methods

public getEncodedResponse(opts: GetEncodedResponseArgs): Promise<GetEncodedResponseResults> source

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

Params:

NameTypeAttributeDescription
opts GetEncodedResponseArgs

See: