chromiumoxide::cdp::browser_protocol

Module dom_snapshot

Source
Expand description

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

Structsยง

ArrayOfStrings
Index of the string in the strings table. ArrayOfStrings
CaptureSnapshotParams
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. captureSnapshot
CaptureSnapshotParamsBuilder
CaptureSnapshotReturns
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. captureSnapshot
CaptureSnapshotReturnsBuilder
ComputedStyle
A subset of the full ComputedStyle as defined by the request whitelist. ComputedStyle
ComputedStyleBuilder
DisableParams
Disables DOM snapshot agent for the given page. disable
DisableReturns
Disables DOM snapshot agent for the given page. disable
DocumentSnapshot
Document snapshot. DocumentSnapshot
DocumentSnapshotBuilder
DomNode
A Node in the DOM tree. DOMNode
DomNodeBuilder
EnableParams
Enables DOM snapshot agent for the given page. enable
EnableReturns
Enables DOM snapshot agent for the given page. enable
InlineTextBox
Details of post layout rendered text positions. The exact layout should not be regarded as stable and may change between versions. InlineTextBox
InlineTextBoxBuilder
LayoutTreeNode
Details of an element in the DOM tree with a LayoutObject. LayoutTreeNode
LayoutTreeNodeBuilder
LayoutTreeSnapshot
Table of details of an element in the DOM tree with a LayoutObject. LayoutTreeSnapshot
LayoutTreeSnapshotBuilder
NameValue
A name/value pair. NameValue
NameValueBuilder
NodeTreeSnapshot
Table containing nodes. NodeTreeSnapshot
NodeTreeSnapshotBuilder
RareBooleanData
RareBooleanDataBuilder
RareIntegerData
RareIntegerDataBuilder
RareStringData
Data that is only present on rare nodes. RareStringData
RareStringDataBuilder
Rectangle
StringIndex
Index of the string in the strings table. StringIndex
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. TextBoxSnapshot
TextBoxSnapshotBuilder