DocumentSnapshot

@Serializable
data class DocumentSnapshot(val documentURL: Int, val title: Int, val baseURL: Int, val contentLanguage: Int, val encodingName: Int, val publicId: Int, val systemId: Int, val frameId: Int, val nodes: DOMSnapshot.NodeTreeSnapshot, val layout: DOMSnapshot.LayoutTreeSnapshot, val textBoxes: DOMSnapshot.TextBoxSnapshot, val scrollOffsetX: Double? = null, val scrollOffsetY: Double? = null, val contentWidth: Double? = null, val contentHeight: Double? = null)

Document snapshot.

Constructors

Link copied to clipboard
constructor(documentURL: Int, title: Int, baseURL: Int, contentLanguage: Int, encodingName: Int, publicId: Int, systemId: Int, frameId: Int, nodes: DOMSnapshot.NodeTreeSnapshot, layout: DOMSnapshot.LayoutTreeSnapshot, textBoxes: DOMSnapshot.TextBoxSnapshot, scrollOffsetX: Double? = null, scrollOffsetY: Double? = null, contentWidth: Double? = null, contentHeight: Double? = null)

Properties

Link copied to clipboard

Base URL that Document or FrameOwner node uses for URL completion.

Link copied to clipboard
val contentHeight: Double? = null

Document content height.

Link copied to clipboard

Contains the document's content language.

Link copied to clipboard
val contentWidth: Double? = null

Document content width.

Link copied to clipboard

Document URL that Document or FrameOwner node points to.

Link copied to clipboard

Contains the document's character set encoding.

Link copied to clipboard

Frame ID for frame owner elements and also for the document node.

Link copied to clipboard

The nodes in the layout tree.

Link copied to clipboard

A table with dom nodes.

Link copied to clipboard

DocumentType node's publicId.

Link copied to clipboard
val scrollOffsetX: Double? = null

Horizontal scroll offset.

Link copied to clipboard
val scrollOffsetY: Double? = null

Vertical scroll offset.

Link copied to clipboard

DocumentType node's systemId.

Link copied to clipboard

The post-layout inline text nodes.

Link copied to clipboard
val title: Int

Document title.