browser_screenshot
Capture screenshots of web pages or specific elements using CSS selectors, with options to mask areas, save to custom paths, or capture full-page content for precise web content documentation.
Instructions
Capture a screenshot of the current page or a specific element
Input Schema
Name | Required | Description | Default |
---|---|---|---|
fullPage | No | Capture full page height | |
mask | No | Selectors for elements to mask | |
name | Yes | Identifier for the screenshot | |
savePath | No | Path to save screenshot (default: user's Downloads folder) | |
selector | No | CSS selector for element to capture |
Input Schema (JSON Schema)
{
"properties": {
"fullPage": {
"description": "Capture full page height",
"type": "boolean"
},
"mask": {
"description": "Selectors for elements to mask",
"items": {
"type": "string"
},
"type": "array"
},
"name": {
"description": "Identifier for the screenshot",
"type": "string"
},
"savePath": {
"description": "Path to save screenshot (default: user's Downloads folder)",
"type": "string"
},
"selector": {
"description": "CSS selector for element to capture",
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
}