import Audits from 'chrome-remote-interface-extra/lib/Audits.js'Audits
Audits domain allows investigation of page violations and possible improvements. EXPERIMENTAL
Constructor Summary
| Public Constructor | ||
| public |
constructor(client: Chrome | CRIConnection | CDPSession | Object) |
|
Member Summary
| Private Members | ||
| private |
|
|
| private |
_client: Chrome | CRIConnection | CDPSession | Object |
|
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:
| Name | Type | Attribute | Description |
| client | Chrome | CRIConnection | CDPSession | Object |
Private Members
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:
| Name | Type | Attribute | Description |
| opts | GetEncodedResponseArgs |
