{
    "type": {
        "type": "string",
        "enum": [
            "png",
            "jpeg"
        ],
        "description": "Specify screenshot type, defaults to `png`."
    },
    "quality": {
        "type": "number",
        "description": "The quality of the image, between 0-100. Not applicable to `png` images."
    },
    "fullPage": {
        "type": "boolean",
        "description": "When true, takes a screenshot of the full scrollable page, instead of the currently visibvle viewport. Defaults to `false`."
    },
    "clip": {
        "type": "object",
        "properties": {
            "x": {
                "type": "number",
                "description": "x-coordinate of top-left corner of clip area"
            },
            "y": {
                "type": "number",
                "description": "y-coordinate of top-left corner of clip area"
            },
            "width": {
                "type": "number",
                "description": "width of clipping area"
            },
            "height": {
                "type": "number",
                "description": "height of clipping area"
            }
        },
        "required": [
            "x",
            "y",
            "width",
            "height"
        ],
        "additionalProperties": false,
        "description": "An object which specifies clipping of the resulting image. Should have the following fields:"
    },
    "omitBackground": {
        "type": "boolean",
        "description": "Hides default white background and allows capturing screenshots with transparency. Not applicable to `jpeg` images. Defaults to `false`."
    },
    "timeout": {
        "type": "number",
        "description": "Maximum time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can be changed by using the browserContext.setDefaultTimeout(timeout) or page.setDefaultTimeout(timeout) methods."
    }
}
