playwright_screenshot
Capture screenshots of web pages or specific elements for UI analysis using AI Vision Debug capabilities. Ideal for debugging and UX testing with customizable options for full-page or targeted element capture.
Instructions
Take a screenshot of the current page or a specific element
Input Schema
Name | Required | Description | Default |
---|---|---|---|
fullPage | No | Store screenshot of the entire page (default: false) | |
name | Yes | Name for the screenshot resource (will be used in the URI) | |
selector | No | Optional CSS selector for element to screenshot |
Input Schema (JSON Schema)
{
"properties": {
"fullPage": {
"description": "Store screenshot of the entire page (default: false)",
"optional": true,
"type": "boolean"
},
"name": {
"description": "Name for the screenshot resource (will be used in the URI)",
"type": "string"
},
"selector": {
"description": "Optional CSS selector for element to screenshot",
"optional": true,
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
}