Click or drag to resize

DOMClient.FocusAsync Method

Version 98.1.210
Focuses the given element.

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

Parameters

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

Return Value

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