DOM.focus

Focuses the given element.

{
  "name": "focus",
  "parameters": [
    {
      "name": "nodeId",
      "$ref": "NodeId",
      "optional": true,
      "description": "Identifier of the node."
    },
    {
      "name": "backendNodeId",
      "$ref": "BackendNodeId",
      "optional": true,
      "description": "Identifier of the backend node."
    },
    {
      "name": "objectId",
      "$ref": "Runtime.RemoteObjectId",
      "optional": true,
      "description": "JavaScript object id of the node wrapper."
    }
  ],
  "description": "Focuses the given element."
}