chrome-devtools-kotlin / org.hildan.chrome.devtools.domains.domsnapshot / CaptureSnapshotRequest

CaptureSnapshotRequest

data class CaptureSnapshotRequest

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

Constructors

<init>

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

CaptureSnapshotRequest(computedStyles: List<String>, includePaintOrder: Boolean? = null, includeDOMRects: Boolean? = null)

Properties

computedStyles

Whitelist of computed styles to return.

val computedStyles: List<String>

includeDOMRects

Whether to include DOM rectangles (offsetRects, clientRects, scrollRects) into the snapshot

val includeDOMRects: Boolean?

includePaintOrder

Whether to include layout object paint orders into the snapshot.

val includePaintOrder: Boolean?