cdp-0.0.2.0: A library for the Chrome Devtools Protocol
Safe HaskellNone
LanguageHaskell2010

CDP.Domains.DOMSnapshot

Description

DOMSnapshot

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

Synopsis

Documentation

data PDOMSnapshotCaptureSnapshot Source #

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.

Parameters of the captureSnapshot command.

Constructors

PDOMSnapshotCaptureSnapshot 

Fields

data DOMSnapshotTextBoxSnapshot Source #

Type 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.

Constructors

DOMSnapshotTextBoxSnapshot 

Fields

data DOMSnapshotLayoutTreeSnapshot Source #

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

Constructors

DOMSnapshotLayoutTreeSnapshot 

Fields

data DOMSnapshotNodeTreeSnapshot Source #

Type NodeTreeSnapshot. Table containing nodes.

Constructors

DOMSnapshotNodeTreeSnapshot 

Fields

data DOMSnapshotDocumentSnapshot Source #

Type DocumentSnapshot. Document snapshot.

Constructors

DOMSnapshotDocumentSnapshot 

Fields

type DOMSnapshotArrayOfStrings = [DOMSnapshotStringIndex] Source #

Type ArrayOfStrings. Index of the string in the strings table.

type DOMSnapshotStringIndex = Int Source #

Type StringIndex. Index of the string in the strings table.

data DOMSnapshotLayoutTreeNode Source #

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

Constructors

DOMSnapshotLayoutTreeNode 

Fields

data DOMSnapshotInlineTextBox Source #

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

Constructors

DOMSnapshotInlineTextBox 

Fields

data DOMSnapshotDOMNode Source #

Type DOMNode. A Node in the DOM tree.

Constructors

DOMSnapshotDOMNode 

Fields