launchApp
Automatically launch apps using their package ID on Android devices. Choose to clear app data or perform a cold boot for precise test scenarios.
Instructions
Launch an app by package name
Input Schema
Name | Required | Description | Default |
---|---|---|---|
appId | Yes | App package ID of the app | |
clearAppData | No | Whether to clear app data before launching, default false | |
coldBoot | No | Whether to cold boot the app, default true |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"appId": {
"description": "App package ID of the app",
"type": "string"
},
"clearAppData": {
"description": "Whether to clear app data before launching, default false",
"type": "boolean"
},
"coldBoot": {
"description": "Whether to cold boot the app, default true",
"type": "boolean"
}
},
"required": [
"appId"
],
"type": "object"
}