Click or drag to resize

OverlayClientHighlightNodeAsync Method

Version 130.1.90
Highlights DOM node with given id or with the given JavaScript object wrapper. Either nodeId or objectId must be specified.

Namespace: CefSharp.DevTools.Overlay
Assembly: CefSharp.Core (in CefSharp.Core.dll) Version: 129.0.110.0
Syntax
public Task<DevToolsMethodResponse> HighlightNodeAsync(
	HighlightConfig highlightConfig,
	int? nodeId = null,
	int? backendNodeId = null,
	string objectId = null,
	string selector = null
)

Parameters

highlightConfig  HighlightConfig
A descriptor for the highlight appearance.
nodeId  NullableInt32  (Optional)
Identifier of the node to highlight.
backendNodeId  NullableInt32  (Optional)
Identifier of the backend node to highlight.
objectId  String  (Optional)
JavaScript object id of the node to be highlighted.
selector  String  (Optional)
Selectors to highlight relevant nodes.

Return Value

TaskDevToolsMethodResponse
returns System.Threading.Tasks.Task<DevToolsMethodResponse>
See Also