Captures the screenshot of the page
Options:
Option | Required | Description | Example |
---|---|---|---|
fileName | true | (string) A name for the captured screenshot. | error shot |
fullPage | false | (boolean) If the screenshot is full page or not. Possible Values: true | false. Default value: false. | true |
Example 1: Captures a full page screenshot
{
"action": "screenshot",
"options": {
"fileName": "error shot",
"fullPage": true
}
}