CaptureSnapshotResponse

data class CaptureSnapshotResponse(documents: List<DocumentSnapshot>, strings: List<String>)

Represents response frame that is returned from 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.

See also

Constructors

CaptureSnapshotResponse
Link copied to clipboard
fun CaptureSnapshotResponse(documents: List<DocumentSnapshot>, strings: List<String>)

Properties

documents
Link copied to clipboard
val documents: List<DocumentSnapshot>
The nodes in the DOM tree.
strings
Link copied to clipboard
val strings: List<String>
Shared string table that all string properties refer to with indexes.

Sources

jvm source
Link copied to clipboard