Screenshot canvas now
webgl_screenshot_canvasCapture a screenshot of any WebGL canvas at any stage for visual checks and goal verification. Saves as PNG, JPEG, or WebP to the current session's screenshots folder.
Instructions
Immediate canvas.toDataURL screenshot (not a Spector frame). Useful for any-stage visual checks and goal verification. Saves under the current session screenshots/ folder.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | ||
| quality | No | ||
| canvasId | No | ||
| mimeType | No | ||
| canvasIndex | No |