Page.snapshotNode

Capture a snapshot of the specified node that does not include unrelated layers.

{
  "name": "snapshotNode",
  "description": "Capture a snapshot of the specified node that does not include unrelated layers.",
  "parameters": [
    {
      "name": "nodeId",
      "$ref": "DOM.NodeId",
      "description": "Id of the node to snapshot."
    }
  ],
  "returns": [
    {
      "name": "dataURL",
      "type": "string",
      "description": "Base64-encoded image data (PNG)."
    }
  ]
}