Class Node
DOM interaction is implemented in terms of mirror objects that represent the actual DOM nodes. DOMNode is a base node mirror type.
public sealed class Node
- Inheritance
-
Node
- Inherited Members
Properties
AdoptedStyleSheets
adoptedStyleSheets
[JsonPropertyName("adoptedStyleSheets")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string[]? AdoptedStyleSheets { get; set; }
Property Value
- string[]
AffectedByStartingStyles
affectedByStartingStyles
[JsonPropertyName("affectedByStartingStyles")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public bool? AffectedByStartingStyles { get; set; }
Property Value
- bool?
AssignedSlot
assignedSlot
[JsonPropertyName("assignedSlot")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public BackendNode? AssignedSlot { get; set; }
Property Value
Attributes
Attributes of the Element node in the form of flat array [name1, value1, name2, value2].
[JsonPropertyName("attributes")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string[]? Attributes { get; set; }
Property Value
- string[]
BackendNodeId
The BackendNodeId for this node.
[JsonPropertyName("backendNodeId")]
public long BackendNodeId { get; set; }
Property Value
BaseURL
Base URL that Document or FrameOwner node uses for URL completion.
[JsonPropertyName("baseURL")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? BaseURL { get; set; }
Property Value
ChildNodeCount
Child count for Container nodes.
[JsonPropertyName("childNodeCount")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public long? ChildNodeCount { get; set; }
Property Value
- long?
Children
Child nodes of this node when requested with children.
[JsonPropertyName("children")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public Node[]? Children { get; set; }
Property Value
- Node[]
CompatibilityMode
compatibilityMode
[JsonPropertyName("compatibilityMode")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public CompatibilityMode? CompatibilityMode { get; set; }
Property Value
ContentDocument
Content document for frame owner elements.
[JsonPropertyName("contentDocument")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public Node? ContentDocument { get; set; }
Property Value
DistributedNodes
Distributed nodes for given insertion point.
[JsonPropertyName("distributedNodes")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public BackendNode[]? DistributedNodes { get; set; }
Property Value
DocumentURL
Document URL that Document or FrameOwner node points to.
[JsonPropertyName("documentURL")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? DocumentURL { get; set; }
Property Value
FrameId
Frame ID for frame owner elements.
[JsonPropertyName("frameId")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? FrameId { get; set; }
Property Value
ImportedDocument
Deprecated, as the HTML Imports API has been removed (crbug.com/937746). This property used to return the imported document for the HTMLImport links. The property is always undefined now.
[JsonPropertyName("importedDocument")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public Node? ImportedDocument { get; set; }
Property Value
InternalSubset
DocumentType's internalSubset.
[JsonPropertyName("internalSubset")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? InternalSubset { get; set; }
Property Value
IsAdRelated
isAdRelated
[JsonPropertyName("isAdRelated")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public bool? IsAdRelated { get; set; }
Property Value
- bool?
IsSVG
Whether the node is SVG.
[JsonPropertyName("isSVG")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public bool? IsSVG { get; set; }
Property Value
- bool?
IsScrollable
isScrollable
[JsonPropertyName("isScrollable")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public bool? IsScrollable { get; set; }
Property Value
- bool?
LocalName
Node's localName.
[JsonPropertyName("localName")]
public string LocalName { get; set; }
Property Value
Name
Attr's name.
[JsonPropertyName("name")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? Name { get; set; }
Property Value
NodeId
Node identifier that is passed into the rest of the DOM messages as the nodeId. Backend
will only push node with given id once. It is aware of all requested nodes and will only
fire DOM events for nodes known to the client.
[JsonPropertyName("nodeId")]
public long NodeId { get; set; }
Property Value
NodeName
Node's nodeName.
[JsonPropertyName("nodeName")]
public string NodeName { get; set; }
Property Value
NodeType
Node's nodeType.
[JsonPropertyName("nodeType")]
public long NodeType { get; set; }
Property Value
NodeValue
Node's nodeValue.
[JsonPropertyName("nodeValue")]
public string NodeValue { get; set; }
Property Value
ParentId
The id of the parent node if any.
[JsonPropertyName("parentId")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public long? ParentId { get; set; }
Property Value
- long?
PseudoElements
Pseudo elements associated with this node.
[JsonPropertyName("pseudoElements")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public Node[]? PseudoElements { get; set; }
Property Value
- Node[]
PseudoIdentifier
Pseudo element identifier for this node. Only present if there is a valid pseudoType.
[JsonPropertyName("pseudoIdentifier")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? PseudoIdentifier { get; set; }
Property Value
PseudoType
Pseudo element type for this node.
[JsonPropertyName("pseudoType")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public PseudoType? PseudoType { get; set; }
Property Value
PublicId
DocumentType's publicId.
[JsonPropertyName("publicId")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? PublicId { get; set; }
Property Value
ShadowRootType
Shadow root type.
[JsonPropertyName("shadowRootType")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public ShadowRootType? ShadowRootType { get; set; }
Property Value
ShadowRoots
Shadow root list for given element host.
[JsonPropertyName("shadowRoots")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public Node[]? ShadowRoots { get; set; }
Property Value
- Node[]
SystemId
DocumentType's systemId.
[JsonPropertyName("systemId")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? SystemId { get; set; }
Property Value
TemplateContent
Content document fragment for template elements.
[JsonPropertyName("templateContent")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public Node? TemplateContent { get; set; }
Property Value
Value
Attr's value.
[JsonPropertyName("value")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? Value { get; set; }
Property Value
XmlVersion
Document's XML version in case of XML documents.
[JsonPropertyName("xmlVersion")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? XmlVersion { get; set; }