playwright_screenshot
Capture screenshots of web pages or specific elements using Playwright. Save as PNG, store in base64, or customize dimensions and download directory for precise browser automation.
Instructions
Take a screenshot of the current page or a specific element
Input Schema
Name | Required | Description | Default |
---|---|---|---|
downloadsDir | No | Custom downloads directory path (default: user's Downloads folder) | |
height | No | Height in pixels (default: 600) | |
name | Yes | Name for the screenshot | |
savePng | No | Save screenshot as PNG file (default: false) | |
selector | No | CSS selector for element to screenshot | |
storeBase64 | No | Store screenshot in base64 format (default: true) | |
width | No | Width in pixels (default: 800) |
Input Schema (JSON Schema)
You must be authenticated.
Other Tools from MCP Playwright CDP
Related Tools
- @lebrodus/mcp-playwright
- @hrmeetsingh/mcp-browser-automation
- @blackwhite084/playwright-plus-python-mcp
- @pvinis/mcp-playwright-stealth
- @Automata-Labs-team/MCP-Server-Playwright