playwright_screenshot
Capture screenshots of web pages or specific elements using a CSS selector, customizable by dimensions, file format, and storage location, integrated with the MCP server for 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) | |
fullPage | No | Store screenshot of the entire page (default: false) | |
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
Related Tools
- @Automata-Labs-team/MCP-Server-Playwright
- @PhialsBasement/MCP-Puppeteer-Linux
- @merajmehrabi/puppeteer-mcp-server
- @hrmeetsingh/mcp-browser-automation
- @blackwhite084/playwright-plus-python-mcp