From 8c573188fe3b9704cc4c367fee365d37da4d4c64 Mon Sep 17 00:00:00 2001 From: titusfortner Date: Sun, 29 Mar 2020 11:41:32 -0500 Subject: [PATCH] add mobile capability settings --- .../java_client/remote/MobileCapabilityType.java | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/main/java/io/appium/java_client/remote/MobileCapabilityType.java b/src/main/java/io/appium/java_client/remote/MobileCapabilityType.java index 1ce83cf0b..1f0b0ccf2 100644 --- a/src/main/java/io/appium/java_client/remote/MobileCapabilityType.java +++ b/src/main/java/io/appium/java_client/remote/MobileCapabilityType.java @@ -134,4 +134,16 @@ public interface MobileCapabilityType extends CapabilityType { * or Safari's (on iOS) performance logging (default {@code false}). */ String ENABLE_PERFORMANCE_LOGGING = "enablePerformanceLogging"; + + + /** + * App or list of apps (as a JSON array) to install prior to running tests. Note that it will not work with + * automationName of Espresso and iOS real devices. + */ + String OTHER_APPS = "otherApps"; + + /** + * When a find operation fails, print the current page source. Defaults to false. + */ + String PRINT_PAGE_SOURCE_ON_FIND_FAILURE = "printPageSourceOnFindFailure"; }