Page.startScreencast

Starts sending each frame using the screencastFrame event.

{
  "name": "startScreencast",
  "description": "Starts sending each frame using the screencastFrame event.",
  "parameters": [
    {
      "name": "format",
      "type": "string",
      "optional": true,
      "enum": [
        "jpeg",
        "png"
      ],
      "description": "Image compression format."
    },
    {
      "name": "quality",
      "type": "integer",
      "optional": true,
      "description": "Compression quality from range [0..100]."
    },
    {
      "name": "maxWidth",
      "type": "integer",
      "optional": true,
      "description": "Maximum screenshot width."
    },
    {
      "name": "maxHeight",
      "type": "integer",
      "optional": true,
      "description": "Maximum screenshot height."
    },
    {
      "name": "everyNthFrame",
      "type": "integer",
      "optional": true,
      "description": "Send every n-th frame."
    }
  ],
  "experimental": true
}