screenshot
Captures screenshots from a live Flutter app to inspect its current state. Capture the full app or a targeted widget, with options to save the file or receive base64 output.
Instructions
Captures a screenshot. Without a target, captures the full app. With a target, captures a specific widget.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Screenshot type (only for full-app screenshots). Defaults to 'app'. | |
| target | No | Target string (e.g. '#loginBtn', 'text="Submit"', 'type="ElevatedButton"', 'semanticsLabel="Username"') | |
| save_path | No | Optional path to save the screenshot file. If not provided, returns base64. | |
| timeout_ms | No | Implicit wait timeout in milliseconds before failing |