Page.captureScreenshot

Capture page screenshot.

{
  "name": "captureScreenshot",
  "async": true,
  "description": "Capture page screenshot.",
  "returns": [
    {
      "name": "data",
      "type": "string",
      "description": "Base64-encoded image data (PNG)."
    }
  ],
  "experimental": true,
  "handlers": [
    "browser"
  ]
}