Click or drag to resize

OverlayClientHighlightNodeAsync Method

Version 113.3.50
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: 113.3.50.0
Syntax
public Task<DevToolsMethodResponse> HighlightNodeAsync(
	HighlightConfig highlightConfig,
	int? nodeId = null,
	int? backendNodeId = null,
	string objectId = null,
	string selector = null
)

Parameters

highlightConfig
Type: CefSharp.DevTools.OverlayHighlightConfig
A descriptor for the highlight appearance.
nodeId (Optional)
Type: SystemNullableInt32
Identifier of the node to highlight.
backendNodeId (Optional)
Type: SystemNullableInt32
Identifier of the backend node to highlight.
objectId (Optional)
Type: SystemString
JavaScript object id of the node to be highlighted.
selector (Optional)
Type: SystemString
Selectors to highlight relevant nodes.

Return Value

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