DOM.requestChildNodes

Requests that children of the node with given id are returned to ghe caller in the form of `setChildNodes` events. `setChildNodes` will be fired for each node that has not previously returned it's children, starting from the requested node down to the specified depth.

{
  "name": "requestChildNodes",
  "parameters": [
    {
      "name": "nodeId",
      "$ref": "NodeId",
      "description": "Id of the node to get children from."
    },
    {
      "name": "depth",
      "type": "integer",
      "description": "The maximum depth at which children should be retrieved, defaults to 1. Use -1 for entire subtree."
    },
    {
      "name": "pierce",
      "type": "boolean",
      "description": "Whether or not iframes should be traversed when returning the subtree (default is false)."
    }
  ],
  "description": "Requests that children of the node with given id are returned to ghe caller in the form of `setChildNodes` events. `setChildNodes` will be fired for each node that has not previously returned it's children, starting from the requested node down to the specified depth."
}