puppeteer/new-docs/puppeteer.protocol.domsnapshot.md
2020-07-13 14:01:35 +01:00

2.7 KiB

Home > puppeteer > Protocol > DOMSnapshot

Protocol.DOMSnapshot namespace

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

Signature:

export namespace DOMSnapshot 

Interfaces

Interface Description
CaptureSnapshotRequest
CaptureSnapshotResponse
ComputedStyle A subset of the full ComputedStyle as defined by the request whitelist.
DocumentSnapshot Document snapshot.
DOMNode A Node in the DOM tree.
GetSnapshotRequest
GetSnapshotResponse
InlineTextBox Details of post layout rendered text positions. The exact layout should not be regarded as stable and may change between versions.
LayoutTreeNode Details of an element in the DOM tree with a LayoutObject.
LayoutTreeSnapshot Table of details of an element in the DOM tree with a LayoutObject.
NameValue A name/value pair.
NodeTreeSnapshot Table containing nodes.
RareBooleanData
RareIntegerData
RareStringData Data that is only present on rare nodes.
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

Type Alias Description
ArrayOfStrings Index of the string in the strings table.
Rectangle
StringIndex Index of the string in the strings table.