takeScreenshot
Capture a webpage screenshot or a specific element using CSS selectors with this PlayMCP Browser Automation Server tool. Ideal for web testing and documentation.
Instructions
Take a screenshot of the page or specific element
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| element | No | CSS selector for element screenshot | |
| fullPage | No | Whether to capture the full scrollable page | |
| path | Yes |
Input Schema (JSON Schema)
{
"properties": {
"element": {
"description": "CSS selector for element screenshot",
"type": "string"
},
"fullPage": {
"description": "Whether to capture the full scrollable page",
"type": "boolean"
},
"path": {
"type": "string"
}
},
"required": [
"path"
],
"type": "object"
}