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
DocumentURLStringIndexDocument URL that Document or FrameOwner node points to.
TitleStringIndexDocument title.
BaseURLStringIndexBase URL that Document or FrameOwner node uses for URL completion.
ContentLanguageStringIndexContains the document's content language.
EncodingNameStringIndexContains the document's character set encoding.
PublicIdStringIndexDocumentType node's publicId.
SystemIdStringIndexDocumentType node's systemId.
FrameIdStringIndexFrame ID for frame owner elements and also for the document node.
NodesNodeTreeSnapshotA table with dom nodes.
LayoutLayoutTreeSnapshotThe nodes in the layout tree.
TextBoxesTextBoxSnapshotThe 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
ContentHeight
Document content height.
public double? ContentHeight { get; init; }
Property Value
ContentLanguage
Contains the document's content language.
public StringIndex ContentLanguage { get; init; }
Property Value
ContentWidth
Document content width.
public double? ContentWidth { get; init; }
Property Value
DocumentURL
Document URL that Document or FrameOwner node points to.
public StringIndex DocumentURL { get; init; }
Property Value
EncodingName
Contains the document's character set encoding.
public StringIndex EncodingName { get; init; }
Property Value
FrameId
Frame ID for frame owner elements and also for the document node.
public StringIndex FrameId { get; init; }
Property Value
Layout
The nodes in the layout tree.
public LayoutTreeSnapshot Layout { get; init; }
Property Value
Nodes
A table with dom nodes.
public NodeTreeSnapshot Nodes { get; init; }
Property Value
PublicId
DocumentType node's publicId.
public StringIndex PublicId { get; init; }
Property Value
ScrollOffsetX
Horizontal scroll offset.
public double? ScrollOffsetX { get; init; }
Property Value
ScrollOffsetY
Vertical scroll offset.
public double? ScrollOffsetY { get; init; }
Property Value
SystemId
DocumentType node's systemId.
public StringIndex SystemId { get; init; }
Property Value
TextBoxes
The post-layout inline text nodes.
public TextBoxSnapshot TextBoxes { get; init; }
Property Value
Title
Document title.
public StringIndex Title { get; init; }