Skip to content

Commit 04b454a

Browse files
Merge pull request #452 from SrinivasanTarget/AndroidMobileCapabilityUpdates
AndroidMobileCapablitiy Updates
2 parents b1179d5 + d62df61 commit 04b454a

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

src/main/java/io/appium/java_client/remote/AndroidMobileCapabilityType.java

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,11 @@ public interface AndroidMobileCapabilityType extends CapabilityType {
7878
*/
7979
String ANDROID_DEVICE_SOCKET = "androidDeviceSocket";
8080

81+
/**
82+
* Timeout in milliseconds used to wait for an apk to install to the device. Defaults to `90000`.
83+
*/
84+
String ANDROID_INSTALL_TIMEOUT = "androidInstallTimeout";
85+
8186
/**
8287
* Name of avd to launch.
8388
*/
@@ -156,7 +161,7 @@ public interface AndroidMobileCapabilityType extends CapabilityType {
156161

157162
/**
158163
* Additional intent arguments that will be used to start activity. See Intent arguments:
159-
* http://developer.android.com/tools/help/adb.html#IntentSpec
164+
* http://developer.android.com/reference/android/content/Intent.html
160165
*/
161166
String OPTIONAL_INTENT_ARGUMENTS = "optionalIntentArguments";
162167

@@ -216,5 +221,17 @@ public interface AndroidMobileCapabilityType extends CapabilityType {
216221
*/
217222
String RECREATE_CHROME_DRIVER_SESSIONS = "recreateChromeDriverSessions";
218223

224+
/**
225+
* In a web context, use native (adb) method for taking a screenshot, rather than proxying
226+
* to ChromeDriver, default false.
227+
*/
228+
String NATIVE_WEB_SCREENSHOT = "nativeWebScreenshot";
229+
230+
/**
231+
* The name of the directory on the device in which the screenshot will be put.
232+
* Defaults to /data/local/tmp.
233+
*/
234+
String ANDROID_SCREENSHOT_PATH = "androidScreenshotPath";
235+
219236
String SELENDROID_PORT = "selendroidPort";
220237
}

0 commit comments

Comments
 (0)