screenshot
Capture a browser-rendered page and save it as an image file, returning the path for visual verification or troubleshooting. Optionally wait for a selector and capture the full page.
Instructions
对页面截图(浏览器渲染)并保存为图片文件,返回文件路径。用于人工核对渲染结果/排障;图片本身不内联返回。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | 目标网址(http/https) | |
| path | No | 保存路径(可选;默认 outputs/mcp_shots/<时间戳>.png) | |
| full_page | No | 整页截图(默认 false=视口) | |
| wait_selector | No | 等该元素出现后再截图(可选) |