explore_and_record
Generate a replayable Maestro flow from described steps, capture assertions from the final screen, and run the flow to verify it replays.
Instructions
Generate a replayable Maestro flow from a described exploration, then verify it runs.
With both capture_assertions and validate enabled the steps run twice:
once to observe the resulting screen and derive assertions, once to prove the
finished file replays. That is deliberate — a flow that has never been
executed is a hypothesis, not a test.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Flow name, used as the file name. | recorded-flow |
| steps | Yes | Interactions to replay, in the order they happened. | |
| app_id | Yes | Maestro appId, for example com.example.app. | |
| device | No | Device serial. Omit to take any single free device. | |
| timeout | No | Flow timeout in seconds. | |
| validate | No | Run the generated flow to prove it replays. | |
| output_dir | No | Directory for the .yaml file. Defaults to the server working directory. | |
| capture_assertions | No | Generate assertVisible entries from the screen the steps leave behind. Requires one exploratory run of the steps. |