DOM.getOuterHTML

Returns node's HTML markup.

{
  "name": "getOuterHTML",
  "parameters": [
    {
      "$ref": "NodeId",
      "optional": true,
      "name": "nodeId",
      "description": "Identifier of the node."
    },
    {
      "$ref": "BackendNodeId",
      "optional": true,
      "name": "backendNodeId",
      "description": "Identifier of the backend node."
    },
    {
      "$ref": "Runtime.RemoteObjectId",
      "optional": true,
      "name": "objectId",
      "description": "JavaScript object id of the node wrapper."
    }
  ],
  "returns": [
    {
      "type": "string",
      "name": "outerHTML",
      "description": "Outer HTML markup."
    }
  ],
  "description": "Returns node's HTML markup."
}