simulator_set_appearance
Switch the simulator between light and dark mode. The change applies system-wide immediately without a reboot.Parameters
The appearance mode to apply. One of
"light" or "dark".Target device UDID or name. Defaults to the booted simulator.
Example
simulator_override_status_bar
Override individual status bar fields to produce consistent, reproducible screenshots. Useful for marketing assets and visual regression tests where the real time, battery, and signal would vary.Parameters
Time string to display. For example,
"9:41".Battery percentage from
0 to 100.Battery state. One of
"charging", "charged", or "discharging".Cellular signal strength from
0 to 4.WiFi signal strength from
0 to 3.Data network type to display. One of:
wifi, 3g, 4g, lte, lte-a, lte+, 5g, 5g+, 5g-uwb, 5g-uc.Carrier or operator name to display.
Set to
true to remove all status bar overrides and restore the real values.Target device UDID or name. Defaults to the booted simulator.
Example: screenshot-ready status bar
simulator_record_video
Start recording the simulator screen to a temporary video file. Usesimulator_stop_recording to stop and retrieve key frames as inline images.
Only one recording can be active per device at a time. If a recording is already in progress, the tool returns an error asking you to stop it first.
Parameters
Video codec to use for encoding. One of
"h264" (default) or "hevc".Which display to capture. One of
"internal" (default) or "external".How to handle the non-rectangular device mask. One of
"ignored", "alpha", or "black".Target device UDID or name. Defaults to the booted simulator.
Example
simulator_stop_recording
Stop an active recording. Key frames are extracted from the video at even intervals and returned inline as JPEG images — no video file is saved to disk unless you providesavePath.
Parameters
Optional path to save the full video file. If omitted, the temporary video is discarded after key frame extraction. Parent directories are created automatically.
Maximum number of key frames to extract. Defaults to
3. Maximum is 6. If ffmpeg is not available, a single final screenshot is returned instead.Target device UDID or name. Defaults to the booted simulator.
Example
Dark Mode Testing Workflow
Switch between appearances and capture screenshots to verify your app’s dark mode support.Set a consistent status bar
Override the status bar so both screenshots have the same time and battery state:
Video Recording Workflow
Record a user flow and get representative frames for review without storing video on disk.Perform the interactions you want to capture
Navigate through screens, fill forms, trigger transitions, and exercise the feature under test.
Stop recording and retrieve key frames
Stop the recording and extract evenly-spaced frames. With ffmpeg installed, frames are extracted from across the full duration:The response contains JPEG images directly — no files accumulate on your Desktop.
