AuditsDomain

Audits domain allows investigation of page violations and possible improvements.

Official doc

Functions

Link copied to clipboard

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
suspend fun disable(): DisableResponse

Disables issues domain, prevents further issues from being reported to the client.

Link copied to clipboard
suspend fun enable(): EnableResponse

Enables issues domain, sends the issues collected so far to the client by means of the issueAdded event.

Link copied to clipboard
fun events(): Flow<AuditsEvent>

Subscribes to all events related to this domain.

Link copied to clipboard

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

Link copied to clipboard