data class CaptureSnapshotRequest
(source)
Represents request frame that can be used with DOMSnapshot#captureSnapshot operation call.
Returns a document snapshot, including the full DOM tree of the root node (including iframes, template contents, and imported documents) in a flattened array, as well as layout and white-listed computed style information for the nodes. Shadow DOM in the returned DOM tree is flattened.
Link
DOMSnapshot#captureSnapshot method documentation.
See Also
DOMSnapshotOperations.captureSnapshot
CaptureSnapshotRequest(computedStyles: List<String>, includePaintOrder: Boolean? = null, includeDOMRects: Boolean? = null)
Represents request frame that can be used with DOMSnapshot#captureSnapshot operation call. |
val computedStyles: List<String>
Whitelist of computed styles to return. |
|
val includeDOMRects: Boolean?
Whether to include DOM rectangles (offsetRects, clientRects, scrollRects) into the snapshot |
|
val includePaintOrder: Boolean?
Whether to include layout object paint orders into the snapshot. |