App Lifecycle


To launch the app under test, simply write:
- launchApp
To launch an arbitrary app with a given id (package name on Android, bundle id on iOS), do:
- launchApp: appId
If you need to clear the app state before launching the app, specify a clearState flag
appId: ""
clearState: true
clearKeychain: true # optional: clear *entire* iOS keychain
stopApp: false # optional (true by default): stop the app before launching it


Stops current application if it is running:
- stopApp
You can also specify app id of the app to be stopped:
- stopApp: appId