Table of Contents

Class DOMAdapter

Namespace
OpenQA.Selenium.DevTools.V130.DOM
Assembly
WebDriver.dll

Represents an adapter for the DOM domain to simplify the command interface.

public class DOMAdapter
Inheritance
DOMAdapter
Inherited Members

Constructors

DOMAdapter(IDevToolsSession)

Initializes a new instance of the DOMAdapter class.

public DOMAdapter(IDevToolsSession session)

Parameters

session IDevToolsSession

The IDevToolsSession to be used with this adapter.

Properties

Session

Gets the DevToolsSession associated with the adapter.

public IDevToolsSession Session { get; }

Property Value

IDevToolsSession

Methods

CollectClassNamesFromSubtree(CollectClassNamesFromSubtreeCommandSettings, CancellationToken, int?, bool)

collectClassNamesFromSubtree

public Task<CollectClassNamesFromSubtreeCommandResponse> CollectClassNamesFromSubtree(CollectClassNamesFromSubtreeCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command CollectClassNamesFromSubtreeCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<CollectClassNamesFromSubtreeCommandResponse>

CopyTo(CopyToCommandSettings, CancellationToken, int?, bool)

copyTo

public Task<CopyToCommandResponse> CopyTo(CopyToCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command CopyToCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<CopyToCommandResponse>

DescribeNode(DescribeNodeCommandSettings, CancellationToken, int?, bool)

describeNode

public Task<DescribeNodeCommandResponse> DescribeNode(DescribeNodeCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command DescribeNodeCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<DescribeNodeCommandResponse>

Disable(DisableCommandSettings, CancellationToken, int?, bool)

disable

public Task<DisableCommandResponse> Disable(DisableCommandSettings command = null, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command DisableCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<DisableCommandResponse>

DiscardSearchResults(DiscardSearchResultsCommandSettings, CancellationToken, int?, bool)

discardSearchResults

public Task<DiscardSearchResultsCommandResponse> DiscardSearchResults(DiscardSearchResultsCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command DiscardSearchResultsCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<DiscardSearchResultsCommandResponse>

Enable(EnableCommandSettings, CancellationToken, int?, bool)

enable

public Task<EnableCommandResponse> Enable(EnableCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command EnableCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<EnableCommandResponse>

Focus(FocusCommandSettings, CancellationToken, int?, bool)

focus

public Task<FocusCommandResponse> Focus(FocusCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command FocusCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<FocusCommandResponse>

GetAnchorElement(GetAnchorElementCommandSettings, CancellationToken, int?, bool)

getAnchorElement

public Task<GetAnchorElementCommandResponse> GetAnchorElement(GetAnchorElementCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command GetAnchorElementCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<GetAnchorElementCommandResponse>

GetAttributes(GetAttributesCommandSettings, CancellationToken, int?, bool)

getAttributes

public Task<GetAttributesCommandResponse> GetAttributes(GetAttributesCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command GetAttributesCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<GetAttributesCommandResponse>

GetBoxModel(GetBoxModelCommandSettings, CancellationToken, int?, bool)

getBoxModel

public Task<GetBoxModelCommandResponse> GetBoxModel(GetBoxModelCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command GetBoxModelCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<GetBoxModelCommandResponse>

GetContainerForNode(GetContainerForNodeCommandSettings, CancellationToken, int?, bool)

getContainerForNode

public Task<GetContainerForNodeCommandResponse> GetContainerForNode(GetContainerForNodeCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command GetContainerForNodeCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<GetContainerForNodeCommandResponse>

GetContentQuads(GetContentQuadsCommandSettings, CancellationToken, int?, bool)

getContentQuads

public Task<GetContentQuadsCommandResponse> GetContentQuads(GetContentQuadsCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command GetContentQuadsCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<GetContentQuadsCommandResponse>

GetDetachedDomNodes(GetDetachedDomNodesCommandSettings, CancellationToken, int?, bool)

getDetachedDomNodes

public Task<GetDetachedDomNodesCommandResponse> GetDetachedDomNodes(GetDetachedDomNodesCommandSettings command = null, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command GetDetachedDomNodesCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<GetDetachedDomNodesCommandResponse>

GetDocument(GetDocumentCommandSettings, CancellationToken, int?, bool)

getDocument

public Task<GetDocumentCommandResponse> GetDocument(GetDocumentCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command GetDocumentCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<GetDocumentCommandResponse>

GetElementByRelation(GetElementByRelationCommandSettings, CancellationToken, int?, bool)

getElementByRelation

public Task<GetElementByRelationCommandResponse> GetElementByRelation(GetElementByRelationCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command GetElementByRelationCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<GetElementByRelationCommandResponse>

GetFileInfo(GetFileInfoCommandSettings, CancellationToken, int?, bool)

getFileInfo

public Task<GetFileInfoCommandResponse> GetFileInfo(GetFileInfoCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command GetFileInfoCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<GetFileInfoCommandResponse>

GetFlattenedDocument(GetFlattenedDocumentCommandSettings, CancellationToken, int?, bool)

getFlattenedDocument

public Task<GetFlattenedDocumentCommandResponse> GetFlattenedDocument(GetFlattenedDocumentCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command GetFlattenedDocumentCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<GetFlattenedDocumentCommandResponse>

GetFrameOwner(GetFrameOwnerCommandSettings, CancellationToken, int?, bool)

getFrameOwner

public Task<GetFrameOwnerCommandResponse> GetFrameOwner(GetFrameOwnerCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command GetFrameOwnerCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<GetFrameOwnerCommandResponse>

GetNodeForLocation(GetNodeForLocationCommandSettings, CancellationToken, int?, bool)

getNodeForLocation

public Task<GetNodeForLocationCommandResponse> GetNodeForLocation(GetNodeForLocationCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command GetNodeForLocationCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<GetNodeForLocationCommandResponse>

GetNodeStackTraces(GetNodeStackTracesCommandSettings, CancellationToken, int?, bool)

getNodeStackTraces

public Task<GetNodeStackTracesCommandResponse> GetNodeStackTraces(GetNodeStackTracesCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command GetNodeStackTracesCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<GetNodeStackTracesCommandResponse>

GetNodesForSubtreeByStyle(GetNodesForSubtreeByStyleCommandSettings, CancellationToken, int?, bool)

getNodesForSubtreeByStyle

public Task<GetNodesForSubtreeByStyleCommandResponse> GetNodesForSubtreeByStyle(GetNodesForSubtreeByStyleCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command GetNodesForSubtreeByStyleCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<GetNodesForSubtreeByStyleCommandResponse>

GetOuterHTML(GetOuterHTMLCommandSettings, CancellationToken, int?, bool)

getOuterHTML

public Task<GetOuterHTMLCommandResponse> GetOuterHTML(GetOuterHTMLCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command GetOuterHTMLCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<GetOuterHTMLCommandResponse>

GetQueryingDescendantsForContainer(GetQueryingDescendantsForContainerCommandSettings, CancellationToken, int?, bool)

getQueryingDescendantsForContainer

public Task<GetQueryingDescendantsForContainerCommandResponse> GetQueryingDescendantsForContainer(GetQueryingDescendantsForContainerCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command GetQueryingDescendantsForContainerCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<GetQueryingDescendantsForContainerCommandResponse>

GetRelayoutBoundary(GetRelayoutBoundaryCommandSettings, CancellationToken, int?, bool)

getRelayoutBoundary

public Task<GetRelayoutBoundaryCommandResponse> GetRelayoutBoundary(GetRelayoutBoundaryCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command GetRelayoutBoundaryCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<GetRelayoutBoundaryCommandResponse>

GetSearchResults(GetSearchResultsCommandSettings, CancellationToken, int?, bool)

getSearchResults

public Task<GetSearchResultsCommandResponse> GetSearchResults(GetSearchResultsCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command GetSearchResultsCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<GetSearchResultsCommandResponse>

GetTopLayerElements(GetTopLayerElementsCommandSettings, CancellationToken, int?, bool)

getTopLayerElements

public Task<GetTopLayerElementsCommandResponse> GetTopLayerElements(GetTopLayerElementsCommandSettings command = null, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command GetTopLayerElementsCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<GetTopLayerElementsCommandResponse>

HideHighlight(HideHighlightCommandSettings, CancellationToken, int?, bool)

hideHighlight

public Task<HideHighlightCommandResponse> HideHighlight(HideHighlightCommandSettings command = null, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command HideHighlightCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<HideHighlightCommandResponse>

HighlightNode(HighlightNodeCommandSettings, CancellationToken, int?, bool)

highlightNode

public Task<HighlightNodeCommandResponse> HighlightNode(HighlightNodeCommandSettings command = null, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command HighlightNodeCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<HighlightNodeCommandResponse>

HighlightRect(HighlightRectCommandSettings, CancellationToken, int?, bool)

highlightRect

public Task<HighlightRectCommandResponse> HighlightRect(HighlightRectCommandSettings command = null, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command HighlightRectCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<HighlightRectCommandResponse>

MarkUndoableState(MarkUndoableStateCommandSettings, CancellationToken, int?, bool)

markUndoableState

public Task<MarkUndoableStateCommandResponse> MarkUndoableState(MarkUndoableStateCommandSettings command = null, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command MarkUndoableStateCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<MarkUndoableStateCommandResponse>

MoveTo(MoveToCommandSettings, CancellationToken, int?, bool)

moveTo

public Task<MoveToCommandResponse> MoveTo(MoveToCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command MoveToCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<MoveToCommandResponse>

PerformSearch(PerformSearchCommandSettings, CancellationToken, int?, bool)

performSearch

public Task<PerformSearchCommandResponse> PerformSearch(PerformSearchCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command PerformSearchCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<PerformSearchCommandResponse>

PushNodeByPathToFrontend(PushNodeByPathToFrontendCommandSettings, CancellationToken, int?, bool)

pushNodeByPathToFrontend

public Task<PushNodeByPathToFrontendCommandResponse> PushNodeByPathToFrontend(PushNodeByPathToFrontendCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command PushNodeByPathToFrontendCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<PushNodeByPathToFrontendCommandResponse>

PushNodesByBackendIdsToFrontend(PushNodesByBackendIdsToFrontendCommandSettings, CancellationToken, int?, bool)

pushNodesByBackendIdsToFrontend

public Task<PushNodesByBackendIdsToFrontendCommandResponse> PushNodesByBackendIdsToFrontend(PushNodesByBackendIdsToFrontendCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command PushNodesByBackendIdsToFrontendCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<PushNodesByBackendIdsToFrontendCommandResponse>

QuerySelector(QuerySelectorCommandSettings, CancellationToken, int?, bool)

querySelector

public Task<QuerySelectorCommandResponse> QuerySelector(QuerySelectorCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command QuerySelectorCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<QuerySelectorCommandResponse>

QuerySelectorAll(QuerySelectorAllCommandSettings, CancellationToken, int?, bool)

querySelectorAll

public Task<QuerySelectorAllCommandResponse> QuerySelectorAll(QuerySelectorAllCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command QuerySelectorAllCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<QuerySelectorAllCommandResponse>

Redo(RedoCommandSettings, CancellationToken, int?, bool)

redo

public Task<RedoCommandResponse> Redo(RedoCommandSettings command = null, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command RedoCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<RedoCommandResponse>

RemoveAttribute(RemoveAttributeCommandSettings, CancellationToken, int?, bool)

removeAttribute

public Task<RemoveAttributeCommandResponse> RemoveAttribute(RemoveAttributeCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command RemoveAttributeCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<RemoveAttributeCommandResponse>

RemoveNode(RemoveNodeCommandSettings, CancellationToken, int?, bool)

removeNode

public Task<RemoveNodeCommandResponse> RemoveNode(RemoveNodeCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command RemoveNodeCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<RemoveNodeCommandResponse>

RequestChildNodes(RequestChildNodesCommandSettings, CancellationToken, int?, bool)

requestChildNodes

public Task<RequestChildNodesCommandResponse> RequestChildNodes(RequestChildNodesCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command RequestChildNodesCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<RequestChildNodesCommandResponse>

RequestNode(RequestNodeCommandSettings, CancellationToken, int?, bool)

requestNode

public Task<RequestNodeCommandResponse> RequestNode(RequestNodeCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command RequestNodeCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<RequestNodeCommandResponse>

ResolveNode(ResolveNodeCommandSettings, CancellationToken, int?, bool)

resolveNode

public Task<ResolveNodeCommandResponse> ResolveNode(ResolveNodeCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command ResolveNodeCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<ResolveNodeCommandResponse>

ScrollIntoViewIfNeeded(ScrollIntoViewIfNeededCommandSettings, CancellationToken, int?, bool)

scrollIntoViewIfNeeded

public Task<ScrollIntoViewIfNeededCommandResponse> ScrollIntoViewIfNeeded(ScrollIntoViewIfNeededCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command ScrollIntoViewIfNeededCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<ScrollIntoViewIfNeededCommandResponse>

SetAttributeValue(SetAttributeValueCommandSettings, CancellationToken, int?, bool)

setAttributeValue

public Task<SetAttributeValueCommandResponse> SetAttributeValue(SetAttributeValueCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command SetAttributeValueCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<SetAttributeValueCommandResponse>

SetAttributesAsText(SetAttributesAsTextCommandSettings, CancellationToken, int?, bool)

setAttributesAsText

public Task<SetAttributesAsTextCommandResponse> SetAttributesAsText(SetAttributesAsTextCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command SetAttributesAsTextCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<SetAttributesAsTextCommandResponse>

SetFileInputFiles(SetFileInputFilesCommandSettings, CancellationToken, int?, bool)

setFileInputFiles

public Task<SetFileInputFilesCommandResponse> SetFileInputFiles(SetFileInputFilesCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command SetFileInputFilesCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<SetFileInputFilesCommandResponse>

SetInspectedNode(SetInspectedNodeCommandSettings, CancellationToken, int?, bool)

setInspectedNode

public Task<SetInspectedNodeCommandResponse> SetInspectedNode(SetInspectedNodeCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command SetInspectedNodeCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<SetInspectedNodeCommandResponse>

SetNodeName(SetNodeNameCommandSettings, CancellationToken, int?, bool)

setNodeName

public Task<SetNodeNameCommandResponse> SetNodeName(SetNodeNameCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command SetNodeNameCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<SetNodeNameCommandResponse>

SetNodeStackTracesEnabled(SetNodeStackTracesEnabledCommandSettings, CancellationToken, int?, bool)

setNodeStackTracesEnabled

public Task<SetNodeStackTracesEnabledCommandResponse> SetNodeStackTracesEnabled(SetNodeStackTracesEnabledCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command SetNodeStackTracesEnabledCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<SetNodeStackTracesEnabledCommandResponse>

SetNodeValue(SetNodeValueCommandSettings, CancellationToken, int?, bool)

setNodeValue

public Task<SetNodeValueCommandResponse> SetNodeValue(SetNodeValueCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command SetNodeValueCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<SetNodeValueCommandResponse>

SetOuterHTML(SetOuterHTMLCommandSettings, CancellationToken, int?, bool)

setOuterHTML

public Task<SetOuterHTMLCommandResponse> SetOuterHTML(SetOuterHTMLCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command SetOuterHTMLCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<SetOuterHTMLCommandResponse>

Undo(UndoCommandSettings, CancellationToken, int?, bool)

undo

public Task<UndoCommandResponse> Undo(UndoCommandSettings command = null, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command UndoCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<UndoCommandResponse>

Events

AttributeModified

attributeModified

public event EventHandler<AttributeModifiedEventArgs> AttributeModified

Event Type

EventHandler<AttributeModifiedEventArgs>

AttributeRemoved

attributeRemoved

public event EventHandler<AttributeRemovedEventArgs> AttributeRemoved

Event Type

EventHandler<AttributeRemovedEventArgs>

CharacterDataModified

characterDataModified

public event EventHandler<CharacterDataModifiedEventArgs> CharacterDataModified

Event Type

EventHandler<CharacterDataModifiedEventArgs>

ChildNodeCountUpdated

childNodeCountUpdated

public event EventHandler<ChildNodeCountUpdatedEventArgs> ChildNodeCountUpdated

Event Type

EventHandler<ChildNodeCountUpdatedEventArgs>

ChildNodeInserted

childNodeInserted

public event EventHandler<ChildNodeInsertedEventArgs> ChildNodeInserted

Event Type

EventHandler<ChildNodeInsertedEventArgs>

ChildNodeRemoved

childNodeRemoved

public event EventHandler<ChildNodeRemovedEventArgs> ChildNodeRemoved

Event Type

EventHandler<ChildNodeRemovedEventArgs>

DistributedNodesUpdated

distributedNodesUpdated

public event EventHandler<DistributedNodesUpdatedEventArgs> DistributedNodesUpdated

Event Type

EventHandler<DistributedNodesUpdatedEventArgs>

DocumentUpdated

documentUpdated

public event EventHandler<DocumentUpdatedEventArgs> DocumentUpdated

Event Type

EventHandler<DocumentUpdatedEventArgs>

InlineStyleInvalidated

inlineStyleInvalidated

public event EventHandler<InlineStyleInvalidatedEventArgs> InlineStyleInvalidated

Event Type

EventHandler<InlineStyleInvalidatedEventArgs>

PseudoElementAdded

pseudoElementAdded

public event EventHandler<PseudoElementAddedEventArgs> PseudoElementAdded

Event Type

EventHandler<PseudoElementAddedEventArgs>

PseudoElementRemoved

pseudoElementRemoved

public event EventHandler<PseudoElementRemovedEventArgs> PseudoElementRemoved

Event Type

EventHandler<PseudoElementRemovedEventArgs>

ScrollableFlagUpdated

scrollableFlagUpdated

public event EventHandler<ScrollableFlagUpdatedEventArgs> ScrollableFlagUpdated

Event Type

EventHandler<ScrollableFlagUpdatedEventArgs>

SetChildNodes

setChildNodes

public event EventHandler<SetChildNodesEventArgs> SetChildNodes

Event Type

EventHandler<SetChildNodesEventArgs>

ShadowRootPopped

shadowRootPopped

public event EventHandler<ShadowRootPoppedEventArgs> ShadowRootPopped

Event Type

EventHandler<ShadowRootPoppedEventArgs>

ShadowRootPushed

shadowRootPushed

public event EventHandler<ShadowRootPushedEventArgs> ShadowRootPushed

Event Type

EventHandler<ShadowRootPushedEventArgs>

TopLayerElementsUpdated

topLayerElementsUpdated

public event EventHandler<TopLayerElementsUpdatedEventArgs> TopLayerElementsUpdated

Event Type

EventHandler<TopLayerElementsUpdatedEventArgs>