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.OverlayAssembly: 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
)
public:
Task<DevToolsMethodResponse^>^ HighlightNodeAsync(
HighlightConfig^ highlightConfig,
Nullable<int> nodeId = nullptr,
Nullable<int> backendNodeId = nullptr,
String^ objectId = nullptr,
String^ selector = nullptr
)
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
TaskDevToolsMethodResponsereturns System.Threading.Tasks.Task<DevToolsMethodResponse>
See Also