Table of Contents

Namespace Selenium.WebDriver.BiDi.Cdp.DOM

Classes

AdRelatedStateUpdatedEventArgs

Fired when a node's ad related state changes.

AdoptedStyleSheetsModifiedEventArgs

Fired when Element's adoptedStyleSheets are modified.

AffectedByStartingStylesFlagUpdatedEventArgs

Fired when a node's starting styles changes.

AttributeModifiedEventArgs

Fired when Element's attribute is modified.

AttributeRemovedEventArgs

Fired when Element's attribute is removed.

BackendNode

Backend node with a friendly name.

BackendNodeId

Unique DOM node identifier used to reference a node that may not have been pushed to the front-end.

BoxModel

An array of quad vertices, x immediately followed by y for each point, points clock-wise.

CSSComputedStyleProperty
CharacterDataModifiedEventArgs

Mirrors DOMCharacterDataModified event.

ChildNodeCountUpdatedEventArgs

Fired when Container's child node count has changed.

ChildNodeInsertedEventArgs

Mirrors DOMNodeInserted event.

ChildNodeRemovedEventArgs

Mirrors DOMNodeRemoved event.

CollectClassNamesFromSubtreeResult
CopyToResult
DOMDomainEvent

Provides static event descriptors for the IDOM.

DescribeNodeResult
DetachedElementInfo

A structure to hold the top-level node of a detached tree and an array of its retained descendants.

DisableResult
DiscardSearchResultsResult
DistributedNodesUpdatedEventArgs

Called when distribution is changed.

DocumentUpdatedEventArgs

Fired when Document has been totally updated. Node ids are no longer valid.

EnableResult
FocusResult
ForceShowInterestResult
ForceShowPopoverResult
GetAnchorElementResult
GetAttributesResult
GetBoxModelResult
GetContainerForNodeResult
GetContentQuadsResult
GetDetachedDomNodesResult
GetDocumentResult
GetElementByRelationResult
GetFileInfoResult
GetFlattenedDocumentResult
GetFrameOwnerResult
GetImplicitAnchorCandidatesResult
GetNodeForLocationResult
GetNodeStackTracesResult
GetNodesForSubtreeByStyleResult
GetOuterHTMLResult
GetQueryingDescendantsForContainerResult
GetRelayoutBoundaryResult
GetSearchResultsResult
GetTopLayerElementsResult
HideHighlightResult
HighlightNodeResult
HighlightRectResult
InlineStyleInvalidatedEventArgs

Fired when Element's inline style is modified via a CSS property modification.

MarkUndoableStateResult
MoveToResult
Node

DOM interaction is implemented in terms of mirror objects that represent the actual DOM nodes. DOMNode is a base node mirror type.

NodeId

Unique DOM node identifier.

PerformSearchResult
PseudoElementAddedEventArgs

Called when a pseudo element is added to an element.

PseudoElementRemovedEventArgs

Called when a pseudo element is removed from an element.

PushNodeByPathToFrontendResult
PushNodesByBackendIdsToFrontendResult
QuerySelectorAllResult
QuerySelectorResult
RGBA

A structure holding an RGBA color.

Rect

Rectangle.

RedoResult
RemoveAttributeResult
RemoveNodeResult
RequestChildNodesResult
RequestNodeResult
ResolveNodeResult
ScrollIntoViewIfNeededResult
ScrollableFlagUpdatedEventArgs

Fired when a node's scrollability state changes.

SetAttributeValueResult
SetAttributesAsTextResult
SetChildNodesEventArgs

Fired when backend wants to provide client with the missing DOM structure. This happens upon most of the calls requesting node ids.

SetFileInputFilesResult
SetInspectedNodeResult
SetNodeNameResult
SetNodeStackTracesEnabledResult
SetNodeValueResult
SetOuterHTMLResult
ShadowRootPoppedEventArgs

Called when shadow root is popped from the element.

ShadowRootPushedEventArgs

Called when shadow root is pushed into the element.

ShapeOutsideInfo

CSS Shape Outside details.

StyleSheetId

Unique identifier for a CSS stylesheet.

TopLayerElementsUpdatedEventArgs

Called when top layer elements are changed.

UndoResult

Interfaces

IDOM

This domain exposes DOM read/write operations. Each DOM Node is represented with its mirror object that has an id. This id can be used to get additional information on the Node, resolve it into the JavaScript object wrapper, etc. It is important that client receives DOM events only for the nodes that are known to the client. Backend keeps track of the nodes that were sent to the client and never sends the same node twice. It is client's responsibility to collect information about the nodes that were sent to the client. Note that iframe owner elements will return corresponding document elements as their child nodes.

Enums

CompatibilityMode

Document compatibility mode.

LogicalAxes

ContainerSelector logical axes

PhysicalAxes

ContainerSelector physical axes

PseudoType

Pseudo element type.

ScrollOrientation

Physical scroll orientation

ShadowRootType

Shadow root type.