focus method
Focuses the given element.
nodeId Identifier of the node.
backendNodeId Identifier of the backend node.
objectId JavaScript object id of the node wrapper.
Implementation
Future<void> focus({
NodeId? nodeId,
BackendNodeId? backendNodeId,
runtime.RemoteObjectId? objectId,
}) async {
await _client.send('DOM.focus', {
'nodeId': ?nodeId,
'backendNodeId': ?backendNodeId,
'objectId': ?objectId,
});
}