mirror of
https://github.com/modelcontextprotocol/servers.git
synced 2026-04-19 00:23:24 +02:00
add optional encoded param to puppeteer_screenshot for base64 output
This commit is contained in:
@@ -22,14 +22,7 @@ A Model Context Protocol server that provides browser automation capabilities us
|
||||
- `selector` (string, optional): CSS selector for element to screenshot
|
||||
- `width` (number, optional, default: 800): Screenshot width
|
||||
- `height` (number, optional, default: 600): Screenshot height
|
||||
|
||||
- **puppeteer_screenshot_encoded**
|
||||
- Captures a screenshot of the entire page or a specific element and return it as a base64-encoded data URI.
|
||||
- Inputs:
|
||||
- `name` (string, required): Name for the screenshot
|
||||
- `selector` (string, optional): CSS selector for element to screenshot
|
||||
- `width` (number, optional, default: 800): Screenshot width
|
||||
- `height` (number, optional, default: 600): Screenshot height
|
||||
- `encoded` (boolean, optional): If true, capture the screenshot as a base64-encoded data URI (as text) instead of binary image content. Default false.
|
||||
|
||||
- **puppeteer_click**
|
||||
|
||||
|
||||
Reference in New Issue
Block a user