Table of Contents

Class DocumentSnapshot

Namespace
Selenium.WebDriver.BiDi.Cdp.DOMSnapshot
Assembly
Selenium.WebDriver.BiDi.Cdp.dll
public sealed record DocumentSnapshot : IEquatable<DocumentSnapshot>
Inheritance
DocumentSnapshot
Implements
Inherited Members

Constructors

DocumentSnapshot(StringIndex, StringIndex, StringIndex, StringIndex, StringIndex, StringIndex, StringIndex, StringIndex, NodeTreeSnapshot, LayoutTreeSnapshot, TextBoxSnapshot)

public DocumentSnapshot(StringIndex DocumentURL, StringIndex Title, StringIndex BaseURL, StringIndex ContentLanguage, StringIndex EncodingName, StringIndex PublicId, StringIndex SystemId, StringIndex FrameId, NodeTreeSnapshot Nodes, LayoutTreeSnapshot Layout, TextBoxSnapshot TextBoxes)

Parameters

DocumentURL StringIndex

Document URL that Document or FrameOwner node points to.

Title StringIndex

Document title.

BaseURL StringIndex

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

ContentLanguage StringIndex

Contains the document's content language.

EncodingName StringIndex

Contains the document's character set encoding.

PublicId StringIndex

DocumentType node's publicId.

SystemId StringIndex

DocumentType node's systemId.

FrameId StringIndex

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

Nodes NodeTreeSnapshot

A table with dom nodes.

Layout LayoutTreeSnapshot

The nodes in the layout tree.

TextBoxes TextBoxSnapshot

The post-layout inline text nodes.

Properties

BaseURL

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

public StringIndex BaseURL { get; init; }

Property Value

StringIndex

ContentHeight

Document content height.

public double? ContentHeight { get; init; }

Property Value

double?

ContentLanguage

Contains the document's content language.

public StringIndex ContentLanguage { get; init; }

Property Value

StringIndex

ContentWidth

Document content width.

public double? ContentWidth { get; init; }

Property Value

double?

DocumentURL

Document URL that Document or FrameOwner node points to.

public StringIndex DocumentURL { get; init; }

Property Value

StringIndex

EncodingName

Contains the document's character set encoding.

public StringIndex EncodingName { get; init; }

Property Value

StringIndex

FrameId

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

public StringIndex FrameId { get; init; }

Property Value

StringIndex

Layout

The nodes in the layout tree.

public LayoutTreeSnapshot Layout { get; init; }

Property Value

LayoutTreeSnapshot

Nodes

A table with dom nodes.

public NodeTreeSnapshot Nodes { get; init; }

Property Value

NodeTreeSnapshot

PublicId

DocumentType node's publicId.

public StringIndex PublicId { get; init; }

Property Value

StringIndex

ScrollOffsetX

Horizontal scroll offset.

public double? ScrollOffsetX { get; init; }

Property Value

double?

ScrollOffsetY

Vertical scroll offset.

public double? ScrollOffsetY { get; init; }

Property Value

double?

SystemId

DocumentType node's systemId.

public StringIndex SystemId { get; init; }

Property Value

StringIndex

TextBoxes

The post-layout inline text nodes.

public TextBoxSnapshot TextBoxes { get; init; }

Property Value

TextBoxSnapshot

Title

Document title.

public StringIndex Title { get; init; }

Property Value

StringIndex