Playwright Server MCP

playwright_screenshot

Take a screenshot of the current page or a specific element

Input Schema

NameRequiredDescriptionDefault
nameYes
selectorNoCSS 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" }