playwright_screenshot
Captures a screenshot of the current web page, saves it to your Downloads folder with a sanitized filename, and returns the local path.
Instructions
Save a screenshot of the current page to ~/Downloads and return the path.
The filename is sanitized (directory components stripped, .png enforced) so it cannot escape ~/Downloads.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | playwright-session.png |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |