Actions28
- App Store Actions
- Device Actions
- Device Credential Actions
- Inspect Task Actions
- Manage Task Actions
Manage Task → Run Task and Wait
AI-generatedSummary
Run Task and Wait
Inputs
- deviceId (required) — Device ID to run the task on. Can be selected from the list or provided via an expression.
- task (required) — The task description to execute on the device.
Output shape
Array of objects with fields taskId, finalStatus, isTerminal, waitedMs, streamEventCount, streamUrl, lastEventName, lastEventPayload, task, rawTaskResponse.
Returns detailed information about the task after it reaches a terminal status (completed, failed, cancelled) or times out.
Examples
Example 1: Running a simple UI test and waiting for completion
Set deviceId, task description, optionally adjust maxWaitSeconds, llmModel, and options such as accessibility, apps, credentials, etc.