Start recording a test
phone_test_startRestart the current or specified Android app and begin recording your interactions as a replayable test flow; optionally wipe app data for a fresh-install start.
Instructions
Restart an app and record everything you do from here as a repeatable test. Defaults to the app currently on screen.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | No | Package name of the app under test, e.g. com.example.app. | |
| serial | No | Which device to use. Only needed when several are connected. | |
| clear_state | No | Wipe the app data first so the test starts like a fresh install. |