run_flow
Runs a sequence of UI actions on the current app page, targeting elements by DebugBridge IDs or labels to automate taps, text input, and state validation.
Instructions
Run a UI operation flow against the current app page using DebugBridge IDs or labels.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| steps | Yes | Ordered UI steps. Supported actions: tap, tap_if_present, set_switch, set_text, type_text, wait_for_page, wait_for_element, sleep. | |
| artifactDir | No | Directory for saved artifacts. Defaults to .devflow-ui/runtime. | |
| saveArtifacts | No | Save flow trace and final page JSON artifacts. Defaults to false. | |
| artifactPrefix | No | Optional file prefix for saved artifacts. |