launch_app
Start an Android app on a connected device, optionally clearing its data to simulate a first-run test. Specify an activity or device serial when needed.
Instructions
Launch an app, optionally from a clean state.
Args: package: application id, e.g. com.example.app. activity: fully qualified activity to start instead of the launcher entry point. clear_data: wipe the app's data first, for a true first-run test. serial: device serial when several are attached.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| serial | No | ||
| package | Yes | ||
| activity | No | ||
| clear_data | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |