From 3da489ce5eec1235bce474275e2dca52d8e39d3d Mon Sep 17 00:00:00 2001 From: Kazuaki Matsuo Date: Wed, 23 May 2018 02:31:59 +0900 Subject: [PATCH] update the descriptions of caps for android (#10702) * update the descriptions * tweak reviews * add a link to the control flow * remove a link to code * tweak the description of appWaitActivity --- docs/en/writing-running-appium/caps.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/en/writing-running-appium/caps.md b/docs/en/writing-running-appium/caps.md index e2b6b423a..1a538cab3 100644 --- a/docs/en/writing-running-appium/caps.md +++ b/docs/en/writing-running-appium/caps.md @@ -60,10 +60,10 @@ These Capabilities are available only on Android-based drivers (like |Capability|Description|Values| |----|-----------|-------| -|`appActivity`| Activity name for the Android activity you want to launch from your package. This often needs to be preceded by a `.` (e.g., `.MainActivity` instead of `MainActivity`)|`MainActivity`, `.Settings`| -|`appPackage`| Java package of the Android app you want to run|`com.example.android.myApp`, `com.android.settings`| -|`appWaitActivity`| Activity name/names, comma separated, for the Android activity you want to wait for|`SplashActivity`, `SplashActivity,OtherActivity`, `*`, `*.SplashActivity`| -|`appWaitPackage`| Java package of the Android app you want to wait for|`com.example.android.myApp`, `com.android.settings`| +|`appActivity`| Activity name for the Android activity you want to launch from your package. This often needs to be preceded by a `.` (e.g., `.MainActivity` instead of `MainActivity`). By default this capability is received from the package manifest (action: android.intent.action.MAIN , category: android.intent.category.LAUNCHER) |`MainActivity`, `.Settings`| +|`appPackage`| Java package of the Android app you want to run. By default this capability is received from the package manifest (@package attribute value)|`com.example.android.myApp`, `com.android.settings`| +|`appWaitActivity`| Activity name/names, comma separated, for the Android activity you want to wait for. By default the value of this capability is the same as for `appActivity`. You must set it to the very first focused application activity name in case it is different from the one which is set as `appActivity` if your capability has `appActivity` and `appPackage`. |`SplashActivity`, `SplashActivity,OtherActivity`, `*`, `*.SplashActivity`| +|`appWaitPackage`| Java package of the Android app you want to wait for. By default the value of this capability is the same as for `appActivity` |`com.example.android.myApp`, `com.android.settings`| |`appWaitDuration`| Timeout in milliseconds used to wait for the appWaitActivity to launch (default `20000`)| `30000`| |`deviceReadyTimeout`| Timeout in seconds while waiting for device to become ready|`5`| |`androidCoverage`| Fully qualified instrumentation class. Passed to -w in adb shell am instrument -e coverage true -w | `com.my.Pkg/com.my.Pkg.instrumentation.MyInstrumentation`|