Skip to content

AndroidMobileCapablitiy Updates #452

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 8, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,11 @@ public interface AndroidMobileCapabilityType extends CapabilityType {
*/
String ANDROID_DEVICE_SOCKET = "androidDeviceSocket";

/**
* Timeout in milliseconds used to wait for an apk to install to the device. Defaults to `90000`.
*/
String ANDROID_INSTALL_TIMEOUT = "androidInstallTimeout";

/**
* Name of avd to launch.
*/
Expand Down Expand Up @@ -156,7 +161,7 @@ public interface AndroidMobileCapabilityType extends CapabilityType {

/**
* Additional intent arguments that will be used to start activity. See Intent arguments:
* http://developer.android.com/tools/help/adb.html#IntentSpec
* http://developer.android.com/reference/android/content/Intent.html
*/
String OPTIONAL_INTENT_ARGUMENTS = "optionalIntentArguments";

Expand Down Expand Up @@ -216,5 +221,17 @@ public interface AndroidMobileCapabilityType extends CapabilityType {
*/
String RECREATE_CHROME_DRIVER_SESSIONS = "recreateChromeDriverSessions";

/**
* In a web context, use native (adb) method for taking a screenshot, rather than proxying
* to ChromeDriver, default false.
*/
String NATIVE_WEB_SCREENSHOT = "nativeWebScreenshot";

/**
* The name of the directory on the device in which the screenshot will be put.
* Defaults to /data/local/tmp.
*/
String ANDROID_SCREENSHOT_PATH = "androidScreenshotPath";

String SELENDROID_PORT = "selendroidPort";
}