DOM.setOuterHTML

Sets node HTML markup, returns new node id.

{
  "name": "setOuterHTML",
  "parameters": [
    {
      "name": "nodeId",
      "$ref": "NodeId",
      "description": "Id of the node to set markup for."
    },
    {
      "name": "outerHTML",
      "type": "string",
      "description": "Outer HTML markup to set."
    }
  ],
  "description": "Sets node HTML markup, returns new node id."
}