Page.setDocumentContent

Sets given markup as the document's HTML.

{
  "name": "setDocumentContent",
  "description": "Sets given markup as the document's HTML.",
  "parameters": [
    {
      "name": "frameId",
      "$ref": "FrameId",
      "description": "Frame id to set HTML for."
    },
    {
      "name": "html",
      "type": "string",
      "description": "HTML content to set."
    }
  ],
  "experimental": true
}