GetSnapshotRequest

@Serializable
data class GetSnapshotRequest(val computedStyleWhitelist: List<String>, val includeEventListeners: Boolean? = null, val includePaintOrder: Boolean? = null, val includeUserAgentShadowTree: Boolean? = null)

Deprecated

Deprecated in the Chrome DevTools protocol

Request object containing input parameters for the DOMSnapshotDomain.getSnapshot command.

Constructors

Link copied to clipboard
constructor(computedStyleWhitelist: List<String>, includeEventListeners: Boolean? = null, includePaintOrder: Boolean? = null, includeUserAgentShadowTree: Boolean? = null)

Types

Link copied to clipboard
class Builder(val computedStyleWhitelist: List<String>)

A builder for GetSnapshotRequest, which allows setting the optional parameters of the DOMSnapshotDomain.getSnapshot command via a lambda.

Properties

Link copied to clipboard

Whitelist of computed styles to return.

Link copied to clipboard

Whether or not to retrieve details of DOM listeners (default false).

Link copied to clipboard

Whether to determine and include the paint order index of LayoutTreeNodes (default false).

Link copied to clipboard

Whether to include UA shadow tree in the snapshot (default false).