playwright_screenshot
Capture full-page or element-specific screenshots using CSS selectors for precise website testing or documentation.
Instructions
Take a screenshot of the current page or a specific element
Input Schema
Name | Required | Description | Default |
---|---|---|---|
name | Yes | ||
selector | No | CSS selector for element to screenshot,null is full page |
Input Schema (JSON Schema)
{
"properties": {
"name": {
"type": "string"
},
"selector": {
"description": "CSS selector for element to screenshot,null is full page",
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
}