public interface MobileCapabilityType
extends org.openqa.selenium.remote.CapabilityType
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
APP
The absolute local path or remote http URL to a
.ipa file (IOS),
.app folder (IOS Simulator), .apk file (Android) or .apks file (Android App Bundle),
or a .zip file containing one of these (for .app, the .app folder must be the root of the zip file). |
static java.lang.String |
AUTO_WEBVIEW
Move directly into Webview context.
|
static java.lang.String |
AUTOMATION_NAME
Which automation engine to use.
|
static java.lang.String |
CLEAR_SYSTEM_FILES
The desired capability which specifies whether to delete any generated files at
the end of a session (see iOS and Android entries for particulars).
|
static java.lang.String |
DEVICE_NAME
The kind of mobile device or emulator to use.
|
static java.lang.String |
ENABLE_PERFORMANCE_LOGGING
(Web and webview only) Enable ChromeDriver's (on Android)
or Safari's (on iOS) performance logging (default
false ). |
static java.lang.String |
EVENT_TIMINGS
Enable or disable the reporting of the timings for various Appium-internal events
(e.g., the start and end of each command, etc.).
|
static java.lang.String |
FORCE_MJSONWP
This is the flag which forces server to switch to the mobile JSONWP.
|
static java.lang.String |
FULL_RESET
Perform a complete reset.
|
static java.lang.String |
LANGUAGE
Language to set for iOS (XCUITest driver only) and Android.
|
static java.lang.String |
LOCALE
Locale to set for iOS (XCUITest driver only) and Android.
|
static java.lang.String |
NEW_COMMAND_TIMEOUT
How long (in seconds) Appium will wait for a new command from the
client before assuming the client quit and ending the session.
|
static java.lang.String |
NO_RESET
Don't reset app state before this session.
|
static java.lang.String |
ORIENTATION
(Sim/Emu-only) start in a certain orientation.
|
static java.lang.String |
OTHER_APPS
App or list of apps (as a JSON array) to install prior to running tests.
|
static java.lang.String |
PLATFORM_VERSION
Mobile OS version.
|
static java.lang.String |
PRINT_PAGE_SOURCE_ON_FIND_FAILURE
When a find operation fails, print the current page source.
|
static java.lang.String |
UDID
Unique device identifier of the connected physical device.
|
ACCEPT_INSECURE_CERTS, ACCEPT_SSL_CERTS, APPLICATION_NAME, BROWSER_NAME, BROWSER_VERSION, ELEMENT_SCROLL_BEHAVIOR, ENABLE_PERSISTENT_HOVERING, ENABLE_PROFILING_CAPABILITY, HAS_NATIVE_EVENTS, HAS_TOUCHSCREEN, LOGGING_PREFS, OVERLAPPING_CHECK_DISABLED, PAGE_LOAD_STRATEGY, PAGE_LOADING_STRATEGY, PLATFORM, PLATFORM_NAME, PROXY, ROTATABLE, SUPPORTS_ALERTS, SUPPORTS_APPLICATION_CACHE, SUPPORTS_FINDING_BY_CSS, SUPPORTS_JAVASCRIPT, SUPPORTS_LOCATION_CONTEXT, SUPPORTS_NETWORK_CONNECTION, SUPPORTS_SQL_DATABASE, SUPPORTS_WEB_STORAGE, TAKES_SCREENSHOT, UNEXPECTED_ALERT_BEHAVIOUR, UNHANDLED_PROMPT_BEHAVIOUR, VERSION
static final java.lang.String AUTOMATION_NAME
static final java.lang.String PLATFORM_VERSION
static final java.lang.String DEVICE_NAME
static final java.lang.String NEW_COMMAND_TIMEOUT
static final java.lang.String APP
.ipa
file (IOS),
.app
folder (IOS Simulator), .apk
file (Android) or .apks
file (Android App Bundle),
or a .zip
file containing one of these (for .app, the .app folder must be the root of the zip file).
Appium will attempt to install this app binary on the appropriate device first.
Note that this capability is not required for Android if you specify appPackage
and appActivity
capabilities (see below). Incompatible with browserName
. See
here
about .apks
file.static final java.lang.String UDID
static final java.lang.String LANGUAGE
static final java.lang.String LOCALE
fr_CA
format for iOS. CA
format (country name abbreviation) for Androidstatic final java.lang.String ORIENTATION
static final java.lang.String AUTO_WEBVIEW
static final java.lang.String NO_RESET
static final java.lang.String FULL_RESET
static final java.lang.String CLEAR_SYSTEM_FILES
static final java.lang.String EVENT_TIMINGS
false
.
To enable, use true
. The timings are then reported as events
property on response
to querying the current session. See the
event timing docs for the the structure of this response.static final java.lang.String FORCE_MJSONWP
false
then it is switched to W3C mode.static final java.lang.String ENABLE_PERFORMANCE_LOGGING
false
).static final java.lang.String OTHER_APPS
static final java.lang.String PRINT_PAGE_SOURCE_ON_FIND_FAILURE