Skip to content

maestro_run

Execute a Maestro flow via maestro-runner. Pass flowPath for an existing .yaml file, or inlineYaml for ephemeral flows. Uses UIAutomator2 on Android and XCTest on iOS. Does NOT require CDP — works even when app is crashed or on native screens.

NameTypeRequiredDefaultConstraintsDescription
flowPathstringNoPath to a .yaml flow file to execute
inlineYamlstringNoInline YAML flow content (written to /tmp and executed)
platform`enum: iosandroid`No
appIdstringNoApp bundle ID (auto-detected from app.json)
timeoutMsnumberNo120000min: 5000, max: 300000, integerExecution timeout in ms
maestro_run()