DOM.querySelector

Executes querySelector on a given node.

{
  "name": "querySelector",
  "parameters": [
    {
      "name": "nodeId",
      "$ref": "NodeId",
      "description": "Id of the node to query upon."
    },
    {
      "name": "selector",
      "type": "string",
      "description": "Selector string."
    }
  ],
  "returns": [
    {
      "name": "nodeId",
      "$ref": "NodeId",
      "description": "Query selector result."
    }
  ],
  "description": "Executes querySelector on a given node."
}