pl.wendigo.chrome.api.domsnapshot

Package pl.wendigo.chrome.api.domsnapshot

Contains DevTools Protocol DOMSnapshot domain implementation accessible via DOMSnapshotOperations class.

Types

CaptureSnapshotRequest

data class CaptureSnapshotRequest

Represents request frame that can be used with DOMSnapshot#captureSnapshot operation call.

CaptureSnapshotResponse

data class CaptureSnapshotResponse

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.

ComputedStyle

data class ComputedStyle

A subset of the full ComputedStyle as defined by the request whitelist.

DocumentSnapshot

data class DocumentSnapshot

Document snapshot.

DOMNode

data class DOMNode

A Node in the DOM tree.

DOMSnapshotOperations

class DOMSnapshotOperations

This domain facilitates obtaining document snapshots with DOM, layout, and style information.

GetSnapshotRequest

data class GetSnapshotRequest

Represents request frame that can be used with DOMSnapshot#getSnapshot operation call.

GetSnapshotResponse

data class GetSnapshotResponse

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

InlineTextBox

data class InlineTextBox

Details of post layout rendered text positions. The exact layout should not be regarded as stable and may change between versions.

LayoutTreeNode

data class LayoutTreeNode

Details of an element in the DOM tree with a LayoutObject.

LayoutTreeSnapshot

data class LayoutTreeSnapshot

Table of details of an element in the DOM tree with a LayoutObject.

NameValue

data class NameValue

A name/value pair.

NodeTreeSnapshot

data class NodeTreeSnapshot

Table containing nodes.

RareBooleanData

data class RareBooleanData

RareIntegerData

data class RareIntegerData

RareStringData

data class RareStringData

Data that is only present on rare nodes.

TextBoxSnapshot

data class TextBoxSnapshot

Table of details of the post layout rendered text positions. The exact layout should not be regarded as stable and may change between versions.

Type Aliases

ArrayOfStrings

typealias ArrayOfStrings = List<StringIndex>

Index of the string in the strings table.

Rectangle

typealias Rectangle = List<Double>

StringIndex

typealias StringIndex = Int

Index of the string in the strings table.