Interface AndroidMobileCapabilityType

    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.openqa.selenium.remote.CapabilityType

        org.openqa.selenium.remote.CapabilityType.ForSeleniumServer
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String ADB_EXEC_TIMEOUT
      Timeout in milliseconds used to wait for adb command execution.
      static java.lang.String ADB_PORT
      Port used to connect to the ADB server (default 5037).
      static java.lang.String ALLOW_TEST_PACKAGES
      Allow to install a test package which has android:testOnly="true" in the manifest.
      static java.lang.String ANDROID_COVERAGE
      Fully qualified instrumentation class.
      static java.lang.String ANDROID_COVERAGE_END_INTENT
      A broadcast action implemented by yourself which is used to dump coverage into file system.
      static java.lang.String ANDROID_DEVICE_READY_TIMEOUT
      Timeout in seconds used to wait for a device to become ready after booting.
      static java.lang.String ANDROID_DEVICE_SOCKET
      Devtools socket name.
      static java.lang.String ANDROID_INSTALL_PATH
      The name of the directory on the device in which the apk will be push before install.
      static java.lang.String ANDROID_INSTALL_TIMEOUT
      Timeout in milliseconds used to wait for an apk to install to the device.
      static java.lang.String ANDROID_NATURAL_ORIENTATION
      Allow for correct handling of orientation on landscape-oriented devices.
      static java.lang.String ANDROID_SCREENSHOT_PATH
      The name of the directory on the device in which the screenshot will be put.
      static java.lang.String APP_ACTIVITY
      Activity name for the Android activity you want to launch from your package.
      static java.lang.String APP_PACKAGE
      Java package of the Android app you want to run.
      static java.lang.String APP_WAIT_ACTIVITY
      Activity name/names, comma separated, for the Android activity you want to wait for.
      static java.lang.String APP_WAIT_DURATION
      Timeout in milliseconds used to wait for the appWaitActivity to launch (default 20000).
      static java.lang.String APP_WAIT_PACKAGE
      Java package of the Android app you want to wait for.
      static java.lang.String AUTO_GRANT_PERMISSIONS
      Have Appium automatically determine which permissions your app requires and grant them to the app on install.
      static java.lang.String AUTO_LAUNCH
      Initializing the app under test automatically.
      static java.lang.String AUTO_WEBVIEW_TIMEOUT
      Amount of time to wait for Webview context to become active, in ms.
      static java.lang.String AVD
      Name of avd to launch.
      static java.lang.String AVD_ARGS
      Additional emulator arguments used when launching an avd.
      static java.lang.String AVD_LAUNCH_TIMEOUT
      How long to wait in milliseconds for an avd to launch and connect to ADB (default 120000).
      static java.lang.String AVD_READY_TIMEOUT
      How long to wait in milliseconds for an avd to finish its boot animations (default 120000).
      static java.lang.String BUILD_TOOLS_VERSION
      Specify the Android build-tools version to be something different than the default, which is to use the most recent version.
      static java.lang.String CHROME_OPTIONS
      Allows passing chromeOptions capability for ChromeDriver.
      static java.lang.String CHROMEDRIVER_ARGS
      An array of arguments to be passed to the chromedriver binary when it's run by Appium.
      static java.lang.String CHROMEDRIVER_CHROME_MAPPING_FILE
      The absolute path to a file which maps Chromedriver versions to the minimum Chrome that it supports.
      static java.lang.String CHROMEDRIVER_DISABLE_BUILD_CHECK
      Sets the chromedriver flag --disable-build-check for Chrome webview tests.
      static java.lang.String CHROMEDRIVER_EXECUTABLE
      The absolute local path to webdriver executable (if Chromium embedder provides its own webdriver, it should be used instead of original chromedriver bundled with Appium).
      static java.lang.String CHROMEDRIVER_EXECUTABLE_DIR
      The absolute path to a directory to look for Chromedriver executables in, for automatic discovery of compatible Chromedrivers.
      static java.lang.String CHROMEDRIVER_PORT
      Numeric port to start Chromedriver on.
      static java.lang.String CHROMEDRIVER_PORTS
      A list of valid ports for Appium to use for communication with Chromedrivers.
      static java.lang.String CHROMEDRIVER_USE_SYSTEM_EXECUTABLE
      If true, bypasses automatic Chromedriver configuration and uses the version that comes downloaded with Appium.
      static java.lang.String DEVICE_READY_TIMEOUT
      Timeout in seconds while waiting for device to become ready.
      static java.lang.String DISABLE_ANDROID_WATCHERS
      Disables android watchers that watch for application not responding and application crash, this will reduce cpu usage on android device/emulator.
      static java.lang.String DISABLE_WINDOW_ANIMATION
      Set device animation scale zero if the value is true.
      static java.lang.String DONT_STOP_APP_ON_RESET
      Doesn't stop the process of the app under test, before starting the app using adb.
      static java.lang.String ENABLE_PERFORMANCE_LOGGING
      static java.lang.String ENFORCE_APP_INSTALL
      By default application installation is skipped if newer or the same version of this app is already present on the device under test.
      static java.lang.String ENSURE_WEBVIEWS_HAVE_PAGES
      Whether or not Appium should augment its webview detection with page detection, guaranteeing that any webview contexts which show up in the context list have active pages.
      static java.lang.String GPS_ENABLED
      Toggle gps location provider for emulators before starting the session.
      static java.lang.String IGNORE_UNIMPORTANT_VIEWS
      Calls the setCompressedLayoutHierarchy() uiautomator function.
      static java.lang.String INTENT_ACTION
      Intent action which will be used to start activity (default android.intent.action.MAIN).
      static java.lang.String INTENT_CATEGORY
      Intent category which will be used to start activity (default android.intent.category.LAUNCHER).
      static java.lang.String INTENT_FLAGS
      Flags that will be used to start activity (default 0x10200000).
      static java.lang.String IS_HEADLESS
      Set this capability to true to run the Emulator headless when device display is not needed to be visible.
      static java.lang.String KEY_ALIAS
      Alias for key.
      static java.lang.String KEY_PASSWORD
      Password for key.
      static java.lang.String KEYSTORE_PASSWORD
      Password for custom keystore.
      static java.lang.String KEYSTORE_PATH
      Path to custom keystore, default ~/.android/debug.keystore.
      static java.lang.String LOCALE_SCRIPT
      Sets the locale script.
      static java.lang.String NATIVE_WEB_SCREENSHOT
      In a web context, use native (adb) method for taking a screenshot, rather than proxying to ChromeDriver, default false.
      static java.lang.String NETWORK_SPEED
      Set the network speed emulation.
      static java.lang.String NO_SIGN
      Skip checking and signing of app with debug keys, will work only with UiAutomator and not with selendroid, default false.
      static java.lang.String OPTIONAL_INTENT_ARGUMENTS
      Additional intent arguments that will be used to start activity.
      static java.lang.String RECREATE_CHROME_DRIVER_SESSIONS
      Kill ChromeDriver session when moving to a non-ChromeDriver webview.
      static java.lang.String REMOTE_ADB_HOST
      Optional remote ADB server host.
      static java.lang.String REMOTE_APPS_CACHE_LIMIT
      Set the maximum number of remote cached apks which are pushed to the device-under-test's local storage.
      static java.lang.String RESET_KEYBOARD
      Reset keyboard to its original state, after running Unicode tests with unicodeKeyboard capability.
      static java.lang.String SKIP_DEVICE_INITIALIZATION
      Skip device initialization which includes i.a.: installation and running of Settings app or setting of permissions.
      static java.lang.String SKIP_LOGCAT_CAPTURE
      Skips to start capturing logcat.
      static java.lang.String SKIP_UNLOCK
      Skips unlock during session creation.
      static java.lang.String SYSTEM_PORT
      systemPort used to connect to appium-uiautomator2-server or appium-espresso-driver.
      static java.lang.String UNICODE_KEYBOARD
      Enable Unicode input, default false.
      static java.lang.String UNINSTALL_OTHER_PACKAGES
      A package, list of packages or * to uninstall package/s before installing apks for test.
      static java.lang.String UNLOCK_KEY
      A key pattern to unlock used by unlockType.
      static java.lang.String UNLOCK_TYPE
      Unlock the target device with particular lock pattern instead of just waking up the device with a helper app.
      static java.lang.String USE_KEYSTORE
      Use a custom keystore to sign apks, default false.
      static java.lang.String WEBVIEW_DEVTOOLS_PORT
      To support the `ensureWebviewsHavePages` feature, it is necessary to open a TCP port for communication with the webview on the device under test.
      • Fields inherited from interface org.openqa.selenium.remote.CapabilityType

        ACCEPT_INSECURE_CERTS, ACCEPT_SSL_CERTS, APPLICATION_NAME, BROWSER_NAME, BROWSER_VERSION, ELEMENT_SCROLL_BEHAVIOR, ENABLE_PROFILING_CAPABILITY, HAS_NATIVE_EVENTS, HAS_TOUCHSCREEN, LOGGING_PREFS, OVERLAPPING_CHECK_DISABLED, PAGE_LOAD_STRATEGY, PLATFORM, PLATFORM_NAME, PROXY, ROTATABLE, SET_WINDOW_RECT, STRICT_FILE_INTERACTABILITY, SUPPORTS_ALERTS, SUPPORTS_APPLICATION_CACHE, SUPPORTS_JAVASCRIPT, SUPPORTS_LOCATION_CONTEXT, SUPPORTS_NETWORK_CONNECTION, SUPPORTS_SQL_DATABASE, SUPPORTS_WEB_STORAGE, TAKES_SCREENSHOT, TIMEOUTS, UNEXPECTED_ALERT_BEHAVIOUR, UNHANDLED_PROMPT_BEHAVIOUR, VERSION
    • Field Detail

      • APP_ACTIVITY

        static final java.lang.String APP_ACTIVITY
        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)
        See Also:
        Constant Field Values
      • APP_PACKAGE

        static final java.lang.String APP_PACKAGE
        Java package of the Android app you want to run. By default this capability is received from the package manifest (@package attribute value)
        See Also:
        Constant Field Values
      • APP_WAIT_ACTIVITY

        static final java.lang.String APP_WAIT_ACTIVITY
        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. You can also use wildcards (*).
        See Also:
        Constant Field Values
      • APP_WAIT_PACKAGE

        static final java.lang.String APP_WAIT_PACKAGE
        Java package of the Android app you want to wait for. By default the value of this capability is the same as for appActivity
        See Also:
        Constant Field Values
      • APP_WAIT_DURATION

        static final java.lang.String APP_WAIT_DURATION
        Timeout in milliseconds used to wait for the appWaitActivity to launch (default 20000).
        Since:
        1.6.0
        See Also:
        Constant Field Values
      • DEVICE_READY_TIMEOUT

        static final java.lang.String DEVICE_READY_TIMEOUT
        Timeout in seconds while waiting for device to become ready.
        See Also:
        Constant Field Values
      • ALLOW_TEST_PACKAGES

        static final java.lang.String ALLOW_TEST_PACKAGES
        Allow to install a test package which has android:testOnly="true" in the manifest. false by default
        See Also:
        Constant Field Values
      • ANDROID_COVERAGE

        static final java.lang.String ANDROID_COVERAGE
        Fully qualified instrumentation class. Passed to -w in adb shell am instrument -e coverage true -w.
        See Also:
        Constant Field Values
      • ANDROID_COVERAGE_END_INTENT

        static final java.lang.String ANDROID_COVERAGE_END_INTENT
        A broadcast action implemented by yourself which is used to dump coverage into file system. Passed to -a in adb shell am broadcast -a
        See Also:
        Constant Field Values
      • ANDROID_DEVICE_READY_TIMEOUT

        static final java.lang.String ANDROID_DEVICE_READY_TIMEOUT
        Timeout in seconds used to wait for a device to become ready after booting.
        See Also:
        Constant Field Values
      • ADB_PORT

        static final java.lang.String ADB_PORT
        Port used to connect to the ADB server (default 5037).
        See Also:
        Constant Field Values
      • ANDROID_DEVICE_SOCKET

        static final java.lang.String ANDROID_DEVICE_SOCKET
        Devtools socket name. Needed only when tested app is a Chromium embedding browser. The socket is open by the browser and Chromedriver connects to it as a devtools client.
        See Also:
        Constant Field Values
      • ANDROID_INSTALL_TIMEOUT

        static final java.lang.String ANDROID_INSTALL_TIMEOUT
        Timeout in milliseconds used to wait for an apk to install to the device. Defaults to `90000`.
        Since:
        1.6.0
        See Also:
        Constant Field Values
      • ANDROID_INSTALL_PATH

        static final java.lang.String ANDROID_INSTALL_PATH
        The name of the directory on the device in which the apk will be push before install. Defaults to /data/local/tmp
        Since:
        1.6.5
        See Also:
        Constant Field Values
      • AVD_LAUNCH_TIMEOUT

        static final java.lang.String AVD_LAUNCH_TIMEOUT
        How long to wait in milliseconds for an avd to launch and connect to ADB (default 120000).
        Since:
        0.18.0
        See Also:
        Constant Field Values
      • AVD_READY_TIMEOUT

        static final java.lang.String AVD_READY_TIMEOUT
        How long to wait in milliseconds for an avd to finish its boot animations (default 120000).
        Since:
        0.18.0
        See Also:
        Constant Field Values
      • AVD_ARGS

        static final java.lang.String AVD_ARGS
        Additional emulator arguments used when launching an avd.
        See Also:
        Constant Field Values
      • USE_KEYSTORE

        static final java.lang.String USE_KEYSTORE
        Use a custom keystore to sign apks, default false.
        See Also:
        Constant Field Values
      • KEYSTORE_PATH

        static final java.lang.String KEYSTORE_PATH
        Path to custom keystore, default ~/.android/debug.keystore.
        See Also:
        Constant Field Values
      • KEYSTORE_PASSWORD

        static final java.lang.String KEYSTORE_PASSWORD
        Password for custom keystore.
        See Also:
        Constant Field Values
      • KEY_PASSWORD

        static final java.lang.String KEY_PASSWORD
        Password for key.
        See Also:
        Constant Field Values
      • CHROMEDRIVER_EXECUTABLE

        static final java.lang.String CHROMEDRIVER_EXECUTABLE
        The absolute local path to webdriver executable (if Chromium embedder provides its own webdriver, it should be used instead of original chromedriver bundled with Appium).
        See Also:
        Constant Field Values
      • CHROMEDRIVER_ARGS

        static final java.lang.String CHROMEDRIVER_ARGS
        An array of arguments to be passed to the chromedriver binary when it's run by Appium. By default no CLI args are added beyond what Appium uses internally (such as --url-base, --port, --adb-port, and --log-path.
        Since:
        1.12.0
        See Also:
        Constant Field Values
      • CHROMEDRIVER_EXECUTABLE_DIR

        static final java.lang.String CHROMEDRIVER_EXECUTABLE_DIR
        The absolute path to a directory to look for Chromedriver executables in, for automatic discovery of compatible Chromedrivers. Ignored if chromedriverUseSystemExecutable is true
        Since:
        1.8.0
        See Also:
        Constant Field Values
      • CHROMEDRIVER_CHROME_MAPPING_FILE

        static final java.lang.String CHROMEDRIVER_CHROME_MAPPING_FILE
        The absolute path to a file which maps Chromedriver versions to the minimum Chrome that it supports. Ignored if chromedriverUseSystemExecutable is true
        Since:
        1.8.0
        See Also:
        Constant Field Values
      • CHROMEDRIVER_USE_SYSTEM_EXECUTABLE

        static final java.lang.String CHROMEDRIVER_USE_SYSTEM_EXECUTABLE
        If true, bypasses automatic Chromedriver configuration and uses the version that comes downloaded with Appium. Ignored if chromedriverExecutable is set. Defaults to false
        Since:
        1.9.0
        See Also:
        Constant Field Values
      • CHROMEDRIVER_PORT

        static final java.lang.String CHROMEDRIVER_PORT
        Numeric port to start Chromedriver on. Note that use of this capability is discouraged as it will cause undefined behavior in case there are multiple webviews present. By default Appium will find a free port.
        See Also:
        Constant Field Values
      • CHROMEDRIVER_PORTS

        static final java.lang.String CHROMEDRIVER_PORTS
        A list of valid ports for Appium to use for communication with Chromedrivers. This capability supports multiple webview scenarios. The form of this capability is an array of numeric ports, where array items can themselves be arrays of length 2, where the first element is the start of an inclusive range and the second is the end. By default, Appium will use any free port.
        Since:
        1.13.0
        See Also:
        Constant Field Values
      • CHROMEDRIVER_DISABLE_BUILD_CHECK

        static final java.lang.String CHROMEDRIVER_DISABLE_BUILD_CHECK
        Sets the chromedriver flag --disable-build-check for Chrome webview tests.
        Since:
        1.11.0
        See Also:
        Constant Field Values
      • AUTO_WEBVIEW_TIMEOUT

        static final java.lang.String AUTO_WEBVIEW_TIMEOUT
        Amount of time to wait for Webview context to become active, in ms. Defaults to 2000.
        Since:
        1.5.2
        See Also:
        Constant Field Values
      • INTENT_ACTION

        static final java.lang.String INTENT_ACTION
        Intent action which will be used to start activity (default android.intent.action.MAIN).
        See Also:
        Constant Field Values
      • INTENT_CATEGORY

        static final java.lang.String INTENT_CATEGORY
        Intent category which will be used to start activity (default android.intent.category.LAUNCHER).
        See Also:
        Constant Field Values
      • INTENT_FLAGS

        static final java.lang.String INTENT_FLAGS
        Flags that will be used to start activity (default 0x10200000).
        See Also:
        Constant Field Values
      • OPTIONAL_INTENT_ARGUMENTS

        static final java.lang.String OPTIONAL_INTENT_ARGUMENTS
        Additional intent arguments that will be used to start activity. See Intent arguments.
        See Also:
        Constant Field Values
      • DONT_STOP_APP_ON_RESET

        static final java.lang.String DONT_STOP_APP_ON_RESET
        Doesn't stop the process of the app under test, before starting the app using adb. If the app under test is created by another anchor app, setting this false, allows the process of the anchor app to be still alive, during the start of the test app using adb. In other words, with dontStopAppOnReset set to true, we will not include the -S flag in the adb shell am start call. With this capability omitted or set to false, we include the -S flag. Default false
        Since:
        1.4.0
        See Also:
        Constant Field Values
      • UNICODE_KEYBOARD

        static final java.lang.String UNICODE_KEYBOARD
        Enable Unicode input, default false.
        Since:
        1.2.0
        See Also:
        Constant Field Values
      • RESET_KEYBOARD

        static final java.lang.String RESET_KEYBOARD
        Reset keyboard to its original state, after running Unicode tests with unicodeKeyboard capability. Ignored if used alone. Default false
        See Also:
        Constant Field Values
      • NO_SIGN

        static final java.lang.String NO_SIGN
        Skip checking and signing of app with debug keys, will work only with UiAutomator and not with selendroid, default false.
        Since:
        1.2.2
        See Also:
        Constant Field Values
      • IGNORE_UNIMPORTANT_VIEWS

        static final java.lang.String IGNORE_UNIMPORTANT_VIEWS
        Calls the setCompressedLayoutHierarchy() uiautomator function. This capability can speed up test execution, since Accessibility commands will run faster ignoring some elements. The ignored elements will not be findable, which is why this capability has also been implemented as a toggle-able setting as well as a capability. Defaults to false.
        See Also:
        Constant Field Values
      • DISABLE_ANDROID_WATCHERS

        static final java.lang.String DISABLE_ANDROID_WATCHERS
        Disables android watchers that watch for application not responding and application crash, this will reduce cpu usage on android device/emulator. This capability will work only with UiAutomator and not with selendroid, default false.
        Since:
        1.4.0
        See Also:
        Constant Field Values
      • CHROME_OPTIONS

        static final java.lang.String CHROME_OPTIONS
        Allows passing chromeOptions capability for ChromeDriver. For more information see chromeOptions.
        See Also:
        Constant Field Values
      • RECREATE_CHROME_DRIVER_SESSIONS

        static final java.lang.String RECREATE_CHROME_DRIVER_SESSIONS
        Kill ChromeDriver session when moving to a non-ChromeDriver webview. Defaults to false
        See Also:
        Constant Field Values
      • NATIVE_WEB_SCREENSHOT

        static final java.lang.String NATIVE_WEB_SCREENSHOT
        In a web context, use native (adb) method for taking a screenshot, rather than proxying to ChromeDriver, default false.
        Since:
        1.5.3
        See Also:
        Constant Field Values
      • ANDROID_SCREENSHOT_PATH

        static final java.lang.String ANDROID_SCREENSHOT_PATH
        The name of the directory on the device in which the screenshot will be put. Defaults to /data/local/tmp.
        Since:
        1.6.0
        See Also:
        Constant Field Values
      • NETWORK_SPEED

        static final java.lang.String NETWORK_SPEED
        Set the network speed emulation. Specify the maximum network upload and download speeds. Defaults to full
        See Also:
        Constant Field Values
      • GPS_ENABLED

        static final java.lang.String GPS_ENABLED
        Toggle gps location provider for emulators before starting the session. By default the emulator will have this option enabled or not according to how it has been provisioned.
        See Also:
        Constant Field Values
      • IS_HEADLESS

        static final java.lang.String IS_HEADLESS
        Set this capability to true to run the Emulator headless when device display is not needed to be visible. false is the default value. isHeadless is also support for iOS, check XCUITest-specific capabilities.
        See Also:
        Constant Field Values
      • ADB_EXEC_TIMEOUT

        static final java.lang.String ADB_EXEC_TIMEOUT
        Timeout in milliseconds used to wait for adb command execution. Defaults to 20000
        See Also:
        Constant Field Values
      • SKIP_DEVICE_INITIALIZATION

        static final java.lang.String SKIP_DEVICE_INITIALIZATION
        Skip device initialization which includes i.a.: installation and running of Settings app or setting of permissions. Can be used to improve startup performance when the device was already used for automation and it's prepared for the next automation. Defaults to false
        Since:
        1.11.0
        See Also:
        Constant Field Values
      • AUTO_GRANT_PERMISSIONS

        static final java.lang.String AUTO_GRANT_PERMISSIONS
        Have Appium automatically determine which permissions your app requires and grant them to the app on install. Defaults to false. If noReset is true, this capability doesn't work.
        See Also:
        Constant Field Values
      • ANDROID_NATURAL_ORIENTATION

        static final java.lang.String ANDROID_NATURAL_ORIENTATION
        Allow for correct handling of orientation on landscape-oriented devices. Set to true to basically flip the meaning of PORTRAIT and LANDSCAPE. Defaults to false.
        Since:
        1.6.4
        See Also:
        Constant Field Values
      • REMOTE_ADB_HOST

        static final java.lang.String REMOTE_ADB_HOST
        Optional remote ADB server host.
        Since:
        1.7.0
        See Also:
        Constant Field Values
      • SKIP_UNLOCK

        static final java.lang.String SKIP_UNLOCK
        Skips unlock during session creation. Defaults to false
        See Also:
        Constant Field Values
      • UNLOCK_TYPE

        static final java.lang.String UNLOCK_TYPE
        Unlock the target device with particular lock pattern instead of just waking up the device with a helper app. It works with unlockKey capability. Defaults to undefined. fingerprint is available only for Android 6.0+ and emulators. Read unlock doc in android driver.
        See Also:
        Constant Field Values
      • UNLOCK_KEY

        static final java.lang.String UNLOCK_KEY
        A key pattern to unlock used by unlockType.
        See Also:
        Constant Field Values
      • AUTO_LAUNCH

        static final java.lang.String AUTO_LAUNCH
        Initializing the app under test automatically. Appium does not launch the app under test if this is false. Defaults to true
        See Also:
        Constant Field Values
      • SKIP_LOGCAT_CAPTURE

        static final java.lang.String SKIP_LOGCAT_CAPTURE
        Skips to start capturing logcat. It might improve performance such as network. Log related commands will not work. Defaults to false.
        Since:
        1.12.0
        See Also:
        Constant Field Values
      • UNINSTALL_OTHER_PACKAGES

        static final java.lang.String UNINSTALL_OTHER_PACKAGES
        A package, list of packages or * to uninstall package/s before installing apks for test. '*' uninstall all of thrid-party packages except for packages which is necessary for Appium to test such as io.appium.settings or io.appium.uiautomator2.server since Appium already contains the logic to manage them.
        Since:
        1.12.0
        See Also:
        Constant Field Values
      • DISABLE_WINDOW_ANIMATION

        static final java.lang.String DISABLE_WINDOW_ANIMATION
        Set device animation scale zero if the value is true. After session is complete, Appium restores the animation scale to it's original value. Defaults to false
        Since:
        1.9.0
        See Also:
        Constant Field Values
      • BUILD_TOOLS_VERSION

        static final java.lang.String BUILD_TOOLS_VERSION
        Specify the Android build-tools version to be something different than the default, which is to use the most recent version. It is helpful to use a non-default version if your environment uses alpha/beta build tools.
        Since:
        1.14.0
        See Also:
        Constant Field Values
      • ENFORCE_APP_INSTALL

        static final java.lang.String ENFORCE_APP_INSTALL
        By default application installation is skipped if newer or the same version of this app is already present on the device under test. Setting this option to true will enforce Appium to always install the current application build independently of the currently installed version of it. Defaults to false.
        Since:
        1.16.0
        See Also:
        Constant Field Values
      • ENSURE_WEBVIEWS_HAVE_PAGES

        static final java.lang.String ENSURE_WEBVIEWS_HAVE_PAGES
        Whether or not Appium should augment its webview detection with page detection, guaranteeing that any webview contexts which show up in the context list have active pages. This can prevent an error if a context is selected where Chromedriver cannot find any pages. Defaults to false.
        Since:
        1.15.0
        See Also:
        Constant Field Values
      • WEBVIEW_DEVTOOLS_PORT

        static final java.lang.String WEBVIEW_DEVTOOLS_PORT
        To support the `ensureWebviewsHavePages` feature, it is necessary to open a TCP port for communication with the webview on the device under test. This capability allows overriding of the default port of 9222, in case multiple sessions are running simultaneously (to avoid port clash), or in case the default port is not appropriate for your system.
        Since:
        1.15.0
        See Also:
        Constant Field Values
      • REMOTE_APPS_CACHE_LIMIT

        static final java.lang.String REMOTE_APPS_CACHE_LIMIT
        Set the maximum number of remote cached apks which are pushed to the device-under-test's local storage. Caching apks remotely speeds up the execution of sequential test cases, when using the same set of apks, by avoiding the need to be push an apk to the remote file system every time a reinstall is needed. Set this capability to 0 to disable caching. Defaults to 10.
        Since:
        1.14.0
        See Also:
        Constant Field Values