previewapk_act
Run up to 20 ordered actions (tap, swipe, type, keys, app/url, waits) on a cloud Android device, stopping at the first failure and returning per-action results.
Instructions
Run a batch of up to 20 actions in order on the device: tap (x/y fractions, or target {text|id|desc, nth}, or target {ref, snapshot_id}), swipe {x1,y1,x2,y2}, long_press, double_tap, type {text, clear, submit}, key {key: back|home|recents|enter|delete or code}, open_app {package}, close_app {package}, open_url {url}, notifications, wait {ms}, wait_for {text|id|desc, present, timeout_s}. Stops at the first failure — earlier actions stay done — and returns per-action results with timing and error envelopes. NEVER replay a batch whose outcome you don't know; observe first. observe='ui'|'screenshot'|'both' attaches the screen after the batch.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | No | ||
| actions | Yes | ||
| observe | No | none |