screenshot
Capture and save screenshots from iOS Simulators by specifying output path, image format, display type, and mask handling. Streamline testing and debugging processes with precise simulator screen captures.
Instructions
Takes a screenshot of the iOS Simulator
Input Schema
Name | Required | Description | Default |
---|---|---|---|
display | No | Display to capture (internal or external). Default depends on device type. | |
mask | No | For non-rectangular displays, handle the mask by policy (ignored, alpha, or black) | |
output_path | Yes | File path where the screenshot will be saved (if relative, ~/Downloads will be used as base directory) | |
type | No | Image format (png, tiff, bmp, gif, or jpeg). Default is png. | |
udid | No | Udid of target, can also be set with the IDB_UDID env var |