Audits Domain
Audits domain allows investigation of page violations and possible improvements.
Functions
Link copied to clipboard
inline suspend fun checkContrast(optionalArgs: CheckContrastRequest.Builder.() -> Unit = {}): CheckContrastResponse
Runs the contrast check for the target page. Found issues are reported using Audits.issueAdded event.
Link copied to clipboard
Runs the form issues check for the target page. Found issues are reported using Audits.issueAdded event.
Link copied to clipboard
Disables issues domain, prevents further issues from being reported to the client.
Link copied to clipboard
Enables issues domain, sends the issues collected so far to the client by means of the issueAdded event.
Link copied to clipboard
Subscribes to all events related to this domain.
Link copied to clipboard
inline suspend fun getEncodedResponse(requestId: RequestId, encoding: EncodedResponseEncoding, optionalArgs: GetEncodedResponseRequest.Builder.() -> Unit = {}): GetEncodedResponseResponse
Returns the response body and size if it were re-encoded with the specified settings. Only applies to images.
Link copied to clipboard
Link copied to clipboard