screenshot
Capture full-page or element-specific screenshots in specified dimensions, with options for base64 encoding, using browser automation for testing Autoconsent rules.
Instructions
Capture screenshots of the entire page or specific elements
Input Schema
Name | Required | Description | Default |
---|---|---|---|
encoded | No | If true, capture the screenshot as a base64-encoded data URI (as text) instead of binary image content. Default false. | |
height | No | Height in pixels (default: 720) | |
name | Yes | Name for the screenshot | |
width | No | Width in pixels (default: 1280) |
Input Schema (JSON Schema)
{
"properties": {
"encoded": {
"description": "If true, capture the screenshot as a base64-encoded data URI (as text) instead of binary image content. Default false.",
"type": "boolean"
},
"height": {
"description": "Height in pixels (default: 720)",
"type": "number"
},
"name": {
"description": "Name for the screenshot",
"type": "string"
},
"width": {
"description": "Width in pixels (default: 1280)",
"type": "number"
}
},
"required": [
"name"
],
"type": "object"
}