cloak_screenshot
Capture a screenshot of any web page as a PNG file. Supports full-page screenshots, element selection, and configurable wait conditions with anti-detection measures.
Instructions
開啟 url 並截圖存成 PNG 到 path(回傳實際存檔路徑)。
full_page=True 截整頁;給 selector 則只截該元素。path 請用絕對路徑。 其餘反偵測參數同 cloak_get_text。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| path | Yes | ||
| full_page | No | ||
| selector | No | ||
| wait_selector | No | ||
| wait_ms | No | ||
| wait_until | No | load | |
| timeout_ms | No | ||
| humanize | No | ||
| headless | No | ||
| proxy | No | ||
| geoip | No | ||
| timezone | No | ||
| locale | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |