Table of Contents

Class DocumentSnapshot

Namespace
OpenQA.Selenium.DevTools.V146.DOMSnapshot
Assembly
Selenium.WebDriver.dll

Document snapshot.

public sealed class DocumentSnapshot
Inheritance
DocumentSnapshot
Inherited Members

Properties

BaseURL

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

[JsonPropertyName("baseURL")]
public long BaseURL { get; set; }

Property Value

long

ContentHeight

Document content height.

[JsonPropertyName("contentHeight")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public double? ContentHeight { get; set; }

Property Value

double?

ContentLanguage

Contains the document's content language.

[JsonPropertyName("contentLanguage")]
public long ContentLanguage { get; set; }

Property Value

long

ContentWidth

Document content width.

[JsonPropertyName("contentWidth")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public double? ContentWidth { get; set; }

Property Value

double?

DocumentURL

Document URL that Document or FrameOwner node points to.

[JsonPropertyName("documentURL")]
public long DocumentURL { get; set; }

Property Value

long

EncodingName

Contains the document's character set encoding.

[JsonPropertyName("encodingName")]
public long EncodingName { get; set; }

Property Value

long

FrameId

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

[JsonPropertyName("frameId")]
public long FrameId { get; set; }

Property Value

long

Layout

The nodes in the layout tree.

[JsonPropertyName("layout")]
public LayoutTreeSnapshot Layout { get; set; }

Property Value

LayoutTreeSnapshot

Nodes

A table with dom nodes.

[JsonPropertyName("nodes")]
public NodeTreeSnapshot Nodes { get; set; }

Property Value

NodeTreeSnapshot

PublicId

DocumentType node's publicId.

[JsonPropertyName("publicId")]
public long PublicId { get; set; }

Property Value

long

ScrollOffsetX

Horizontal scroll offset.

[JsonPropertyName("scrollOffsetX")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public double? ScrollOffsetX { get; set; }

Property Value

double?

ScrollOffsetY

Vertical scroll offset.

[JsonPropertyName("scrollOffsetY")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public double? ScrollOffsetY { get; set; }

Property Value

double?

SystemId

DocumentType node's systemId.

[JsonPropertyName("systemId")]
public long SystemId { get; set; }

Property Value

long

TextBoxes

The post-layout inline text nodes.

[JsonPropertyName("textBoxes")]
public TextBoxSnapshot TextBoxes { get; set; }

Property Value

TextBoxSnapshot

Title

Document title.

[JsonPropertyName("title")]
public long Title { get; set; }

Property Value

long