Click or drag to resize

DOMClientFocusAsync Method

Version 92.0.260
Focuses the given element.

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

Parameters

nodeId (Optional)
Type: SystemNullableInt32
Identifier of the node.
backendNodeId (Optional)
Type: SystemNullableInt32
Identifier of the backend node.
objectId (Optional)
Type: SystemString
JavaScript object id of the node wrapper.

Return Value

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