playwright_screenshot
Capture screenshots of entire web pages or specific elements using CSS selectors for web automation and documentation purposes.
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"
}