Package io.appium.java_client.remote
Interface MobileCapabilityType
-
- All Superinterfaces:
org.openqa.selenium.remote.CapabilityType
public interface MobileCapabilityType extends org.openqa.selenium.remote.CapabilityType
The list of common capabilities.
Read:
https://github.com/appium/appium/blob/master/docs/en/writing-running-appium/caps.md#general-capabilities
-
-
Field Summary
Fields Modifier and Type Field 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 (defaultfalse
).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
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.-
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
-
AUTOMATION_NAME
static final java.lang.String AUTOMATION_NAME
Which automation engine to use.- See Also:
- Constant Field Values
-
PLATFORM_VERSION
static final java.lang.String PLATFORM_VERSION
Mobile OS version.- See Also:
- Constant Field Values
-
DEVICE_NAME
static final java.lang.String DEVICE_NAME
The kind of mobile device or emulator to use.- See Also:
- Constant Field Values
-
NEW_COMMAND_TIMEOUT
static final 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.- See Also:
- Constant Field Values
-
APP
static final 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). Appium will attempt to install this app binary on the appropriate device first. Note that this capability is not required for Android if you specifyappPackage
andappActivity
capabilities (see below). Incompatible withbrowserName
. See here about.apks
file.- See Also:
- Constant Field Values
-
UDID
static final java.lang.String UDID
Unique device identifier of the connected physical device.- See Also:
- Constant Field Values
-
LANGUAGE
static final java.lang.String LANGUAGE
Language to set for iOS (XCUITest driver only) and Android.- See Also:
- Constant Field Values
-
LOCALE
static final java.lang.String LOCALE
Locale to set for iOS (XCUITest driver only) and Android.fr_CA
format for iOS.CA
format (country name abbreviation) for Android- See Also:
- Constant Field Values
-
ORIENTATION
static final java.lang.String ORIENTATION
(Sim/Emu-only) start in a certain orientation.- See Also:
- Constant Field Values
-
AUTO_WEBVIEW
static final java.lang.String AUTO_WEBVIEW
Move directly into Webview context. Default false.- See Also:
- Constant Field Values
-
NO_RESET
static final java.lang.String NO_RESET
Don't reset app state before this session. See here for more detail.- See Also:
- Constant Field Values
-
FULL_RESET
static final java.lang.String FULL_RESET
Perform a complete reset. See here for more detail.- See Also:
- Constant Field Values
-
CLEAR_SYSTEM_FILES
static final 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).- See Also:
- Constant Field Values
-
EVENT_TIMINGS
static final 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.). Defaults tofalse
. To enable, usetrue
. The timings are then reported asevents
property on response to querying the current session. See the event timing docs for the the structure of this response.- See Also:
- Constant Field Values
-
ENABLE_PERFORMANCE_LOGGING
static final java.lang.String ENABLE_PERFORMANCE_LOGGING
(Web and webview only) Enable ChromeDriver's (on Android) or Safari's (on iOS) performance logging (defaultfalse
).- See Also:
- Constant Field Values
-
OTHER_APPS
static final java.lang.String OTHER_APPS
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.- See Also:
- Constant Field Values
-
PRINT_PAGE_SOURCE_ON_FIND_FAILURE
static final java.lang.String PRINT_PAGE_SOURCE_ON_FIND_FAILURE
When a find operation fails, print the current page source. Defaults to false.- See Also:
- Constant Field Values
-
-