Click or drag to resize

DOMClient.FocusAsync Method

Version 130.1.90
Focuses the given element.

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

Parameters

nodeId  Nullable<Int32>  (Optional)
Identifier of the node.
backendNodeId  Nullable<Int32>  (Optional)
Identifier of the backend node.
objectId  String  (Optional)
JavaScript object id of the node wrapper.

Return Value

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