Class DOMAdapter
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
IDevToolsSessionThe IDevToolsSession to be used with this adapter.
Exceptions
- ArgumentNullException
If
session
is null.
Properties
Session
Gets the DevToolsSession associated with the adapter.
public IDevToolsSession Session { get; }
Property Value
Methods
CollectClassNamesFromSubtree(CollectClassNamesFromSubtreeCommandSettings, CancellationToken, int?, bool)
collectClassNamesFromSubtree
public Task<CollectClassNamesFromSubtreeCommandResponse> CollectClassNamesFromSubtree(CollectClassNamesFromSubtreeCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
CollectClassNamesFromSubtreeCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
CopyTo(CopyToCommandSettings, CancellationToken, int?, bool)
copyTo
public Task<CopyToCommandResponse> CopyTo(CopyToCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
CopyToCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
DescribeNode(DescribeNodeCommandSettings, CancellationToken, int?, bool)
describeNode
public Task<DescribeNodeCommandResponse> DescribeNode(DescribeNodeCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
DescribeNodeCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
Disable(DisableCommandSettings?, CancellationToken, int?, bool)
disable
public Task<DisableCommandResponse?> Disable(DisableCommandSettings? command = null, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
DisableCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
DiscardSearchResults(DiscardSearchResultsCommandSettings, CancellationToken, int?, bool)
discardSearchResults
public Task<DiscardSearchResultsCommandResponse?> DiscardSearchResults(DiscardSearchResultsCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
DiscardSearchResultsCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
Enable(EnableCommandSettings, CancellationToken, int?, bool)
enable
public Task<EnableCommandResponse?> Enable(EnableCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
EnableCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
Focus(FocusCommandSettings, CancellationToken, int?, bool)
focus
public Task<FocusCommandResponse?> Focus(FocusCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
FocusCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
GetAnchorElement(GetAnchorElementCommandSettings, CancellationToken, int?, bool)
getAnchorElement
public Task<GetAnchorElementCommandResponse> GetAnchorElement(GetAnchorElementCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
GetAnchorElementCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
GetAttributes(GetAttributesCommandSettings, CancellationToken, int?, bool)
getAttributes
public Task<GetAttributesCommandResponse> GetAttributes(GetAttributesCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
GetAttributesCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
GetBoxModel(GetBoxModelCommandSettings, CancellationToken, int?, bool)
getBoxModel
public Task<GetBoxModelCommandResponse> GetBoxModel(GetBoxModelCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
GetBoxModelCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
GetContainerForNode(GetContainerForNodeCommandSettings, CancellationToken, int?, bool)
getContainerForNode
public Task<GetContainerForNodeCommandResponse> GetContainerForNode(GetContainerForNodeCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
GetContainerForNodeCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
GetContentQuads(GetContentQuadsCommandSettings, CancellationToken, int?, bool)
getContentQuads
public Task<GetContentQuadsCommandResponse> GetContentQuads(GetContentQuadsCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
GetContentQuadsCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
GetDetachedDomNodes(GetDetachedDomNodesCommandSettings?, CancellationToken, int?, bool)
getDetachedDomNodes
public Task<GetDetachedDomNodesCommandResponse> GetDetachedDomNodes(GetDetachedDomNodesCommandSettings? command = null, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
GetDetachedDomNodesCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
GetDocument(GetDocumentCommandSettings, CancellationToken, int?, bool)
getDocument
public Task<GetDocumentCommandResponse> GetDocument(GetDocumentCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
GetDocumentCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
GetElementByRelation(GetElementByRelationCommandSettings, CancellationToken, int?, bool)
getElementByRelation
public Task<GetElementByRelationCommandResponse> GetElementByRelation(GetElementByRelationCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
GetElementByRelationCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
GetFileInfo(GetFileInfoCommandSettings, CancellationToken, int?, bool)
getFileInfo
public Task<GetFileInfoCommandResponse> GetFileInfo(GetFileInfoCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
GetFileInfoCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
GetFlattenedDocument(GetFlattenedDocumentCommandSettings, CancellationToken, int?, bool)
getFlattenedDocument
public Task<GetFlattenedDocumentCommandResponse> GetFlattenedDocument(GetFlattenedDocumentCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
GetFlattenedDocumentCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
GetFrameOwner(GetFrameOwnerCommandSettings, CancellationToken, int?, bool)
getFrameOwner
public Task<GetFrameOwnerCommandResponse> GetFrameOwner(GetFrameOwnerCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
GetFrameOwnerCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
GetNodeForLocation(GetNodeForLocationCommandSettings, CancellationToken, int?, bool)
getNodeForLocation
public Task<GetNodeForLocationCommandResponse> GetNodeForLocation(GetNodeForLocationCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
GetNodeForLocationCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
GetNodeStackTraces(GetNodeStackTracesCommandSettings, CancellationToken, int?, bool)
getNodeStackTraces
public Task<GetNodeStackTracesCommandResponse> GetNodeStackTraces(GetNodeStackTracesCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
GetNodeStackTracesCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
GetNodesForSubtreeByStyle(GetNodesForSubtreeByStyleCommandSettings, CancellationToken, int?, bool)
getNodesForSubtreeByStyle
public Task<GetNodesForSubtreeByStyleCommandResponse> GetNodesForSubtreeByStyle(GetNodesForSubtreeByStyleCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
GetNodesForSubtreeByStyleCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
GetOuterHTML(GetOuterHTMLCommandSettings, CancellationToken, int?, bool)
getOuterHTML
public Task<GetOuterHTMLCommandResponse> GetOuterHTML(GetOuterHTMLCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
GetOuterHTMLCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
GetQueryingDescendantsForContainer(GetQueryingDescendantsForContainerCommandSettings, CancellationToken, int?, bool)
getQueryingDescendantsForContainer
public Task<GetQueryingDescendantsForContainerCommandResponse> GetQueryingDescendantsForContainer(GetQueryingDescendantsForContainerCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
GetQueryingDescendantsForContainerCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
GetRelayoutBoundary(GetRelayoutBoundaryCommandSettings, CancellationToken, int?, bool)
getRelayoutBoundary
public Task<GetRelayoutBoundaryCommandResponse> GetRelayoutBoundary(GetRelayoutBoundaryCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
GetRelayoutBoundaryCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
GetSearchResults(GetSearchResultsCommandSettings, CancellationToken, int?, bool)
getSearchResults
public Task<GetSearchResultsCommandResponse> GetSearchResults(GetSearchResultsCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
GetSearchResultsCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
GetTopLayerElements(GetTopLayerElementsCommandSettings?, CancellationToken, int?, bool)
getTopLayerElements
public Task<GetTopLayerElementsCommandResponse> GetTopLayerElements(GetTopLayerElementsCommandSettings? command = null, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
GetTopLayerElementsCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
HideHighlight(HideHighlightCommandSettings?, CancellationToken, int?, bool)
hideHighlight
public Task<HideHighlightCommandResponse?> HideHighlight(HideHighlightCommandSettings? command = null, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
HideHighlightCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
HighlightNode(HighlightNodeCommandSettings?, CancellationToken, int?, bool)
highlightNode
public Task<HighlightNodeCommandResponse?> HighlightNode(HighlightNodeCommandSettings? command = null, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
HighlightNodeCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
HighlightRect(HighlightRectCommandSettings?, CancellationToken, int?, bool)
highlightRect
public Task<HighlightRectCommandResponse?> HighlightRect(HighlightRectCommandSettings? command = null, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
HighlightRectCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
MarkUndoableState(MarkUndoableStateCommandSettings?, CancellationToken, int?, bool)
markUndoableState
public Task<MarkUndoableStateCommandResponse?> MarkUndoableState(MarkUndoableStateCommandSettings? command = null, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
MarkUndoableStateCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
MoveTo(MoveToCommandSettings, CancellationToken, int?, bool)
moveTo
public Task<MoveToCommandResponse> MoveTo(MoveToCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
MoveToCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
PerformSearch(PerformSearchCommandSettings, CancellationToken, int?, bool)
performSearch
public Task<PerformSearchCommandResponse> PerformSearch(PerformSearchCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
PerformSearchCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
PushNodeByPathToFrontend(PushNodeByPathToFrontendCommandSettings, CancellationToken, int?, bool)
pushNodeByPathToFrontend
public Task<PushNodeByPathToFrontendCommandResponse> PushNodeByPathToFrontend(PushNodeByPathToFrontendCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
PushNodeByPathToFrontendCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
PushNodesByBackendIdsToFrontend(PushNodesByBackendIdsToFrontendCommandSettings, CancellationToken, int?, bool)
pushNodesByBackendIdsToFrontend
public Task<PushNodesByBackendIdsToFrontendCommandResponse> PushNodesByBackendIdsToFrontend(PushNodesByBackendIdsToFrontendCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
PushNodesByBackendIdsToFrontendCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
QuerySelector(QuerySelectorCommandSettings, CancellationToken, int?, bool)
querySelector
public Task<QuerySelectorCommandResponse> QuerySelector(QuerySelectorCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
QuerySelectorCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
QuerySelectorAll(QuerySelectorAllCommandSettings, CancellationToken, int?, bool)
querySelectorAll
public Task<QuerySelectorAllCommandResponse> QuerySelectorAll(QuerySelectorAllCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
QuerySelectorAllCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
Redo(RedoCommandSettings?, CancellationToken, int?, bool)
redo
public Task<RedoCommandResponse?> Redo(RedoCommandSettings? command = null, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
RedoCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
RemoveAttribute(RemoveAttributeCommandSettings, CancellationToken, int?, bool)
removeAttribute
public Task<RemoveAttributeCommandResponse?> RemoveAttribute(RemoveAttributeCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
RemoveAttributeCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
RemoveNode(RemoveNodeCommandSettings, CancellationToken, int?, bool)
removeNode
public Task<RemoveNodeCommandResponse?> RemoveNode(RemoveNodeCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
RemoveNodeCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
RequestChildNodes(RequestChildNodesCommandSettings, CancellationToken, int?, bool)
requestChildNodes
public Task<RequestChildNodesCommandResponse?> RequestChildNodes(RequestChildNodesCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
RequestChildNodesCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
RequestNode(RequestNodeCommandSettings, CancellationToken, int?, bool)
requestNode
public Task<RequestNodeCommandResponse> RequestNode(RequestNodeCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
RequestNodeCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
ResolveNode(ResolveNodeCommandSettings, CancellationToken, int?, bool)
resolveNode
public Task<ResolveNodeCommandResponse> ResolveNode(ResolveNodeCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
ResolveNodeCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
ScrollIntoViewIfNeeded(ScrollIntoViewIfNeededCommandSettings, CancellationToken, int?, bool)
scrollIntoViewIfNeeded
public Task<ScrollIntoViewIfNeededCommandResponse?> ScrollIntoViewIfNeeded(ScrollIntoViewIfNeededCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
ScrollIntoViewIfNeededCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
SetAttributeValue(SetAttributeValueCommandSettings, CancellationToken, int?, bool)
setAttributeValue
public Task<SetAttributeValueCommandResponse?> SetAttributeValue(SetAttributeValueCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
SetAttributeValueCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
SetAttributesAsText(SetAttributesAsTextCommandSettings, CancellationToken, int?, bool)
setAttributesAsText
public Task<SetAttributesAsTextCommandResponse?> SetAttributesAsText(SetAttributesAsTextCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
SetAttributesAsTextCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
SetFileInputFiles(SetFileInputFilesCommandSettings, CancellationToken, int?, bool)
setFileInputFiles
public Task<SetFileInputFilesCommandResponse?> SetFileInputFiles(SetFileInputFilesCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
SetFileInputFilesCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
SetInspectedNode(SetInspectedNodeCommandSettings, CancellationToken, int?, bool)
setInspectedNode
public Task<SetInspectedNodeCommandResponse?> SetInspectedNode(SetInspectedNodeCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
SetInspectedNodeCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
SetNodeName(SetNodeNameCommandSettings, CancellationToken, int?, bool)
setNodeName
public Task<SetNodeNameCommandResponse> SetNodeName(SetNodeNameCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
SetNodeNameCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
SetNodeStackTracesEnabled(SetNodeStackTracesEnabledCommandSettings, CancellationToken, int?, bool)
setNodeStackTracesEnabled
public Task<SetNodeStackTracesEnabledCommandResponse?> SetNodeStackTracesEnabled(SetNodeStackTracesEnabledCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
SetNodeStackTracesEnabledCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
SetNodeValue(SetNodeValueCommandSettings, CancellationToken, int?, bool)
setNodeValue
public Task<SetNodeValueCommandResponse?> SetNodeValue(SetNodeValueCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
SetNodeValueCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
SetOuterHTML(SetOuterHTMLCommandSettings, CancellationToken, int?, bool)
setOuterHTML
public Task<SetOuterHTMLCommandResponse?> SetOuterHTML(SetOuterHTMLCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
SetOuterHTMLCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
Undo(UndoCommandSettings?, CancellationToken, int?, bool)
undo
public Task<UndoCommandResponse?> Undo(UndoCommandSettings? command = null, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
UndoCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
Events
AttributeModified
attributeModified
public event EventHandler<AttributeModifiedEventArgs>? AttributeModified
Event Type
AttributeRemoved
attributeRemoved
public event EventHandler<AttributeRemovedEventArgs>? AttributeRemoved
Event Type
CharacterDataModified
characterDataModified
public event EventHandler<CharacterDataModifiedEventArgs>? CharacterDataModified
Event Type
ChildNodeCountUpdated
childNodeCountUpdated
public event EventHandler<ChildNodeCountUpdatedEventArgs>? ChildNodeCountUpdated
Event Type
ChildNodeInserted
childNodeInserted
public event EventHandler<ChildNodeInsertedEventArgs>? ChildNodeInserted
Event Type
ChildNodeRemoved
childNodeRemoved
public event EventHandler<ChildNodeRemovedEventArgs>? ChildNodeRemoved
Event Type
DistributedNodesUpdated
distributedNodesUpdated
public event EventHandler<DistributedNodesUpdatedEventArgs>? DistributedNodesUpdated
Event Type
DocumentUpdated
documentUpdated
public event EventHandler<DocumentUpdatedEventArgs>? DocumentUpdated
Event Type
InlineStyleInvalidated
inlineStyleInvalidated
public event EventHandler<InlineStyleInvalidatedEventArgs>? InlineStyleInvalidated
Event Type
PseudoElementAdded
pseudoElementAdded
public event EventHandler<PseudoElementAddedEventArgs>? PseudoElementAdded
Event Type
PseudoElementRemoved
pseudoElementRemoved
public event EventHandler<PseudoElementRemovedEventArgs>? PseudoElementRemoved
Event Type
ScrollableFlagUpdated
scrollableFlagUpdated
public event EventHandler<ScrollableFlagUpdatedEventArgs>? ScrollableFlagUpdated
Event Type
SetChildNodes
setChildNodes
public event EventHandler<SetChildNodesEventArgs>? SetChildNodes
Event Type
ShadowRootPopped
shadowRootPopped
public event EventHandler<ShadowRootPoppedEventArgs>? ShadowRootPopped
Event Type
ShadowRootPushed
shadowRootPushed
public event EventHandler<ShadowRootPushedEventArgs>? ShadowRootPushed
Event Type
TopLayerElementsUpdated
topLayerElementsUpdated
public event EventHandler<TopLayerElementsUpdatedEventArgs>? TopLayerElementsUpdated