- Mar 18, 2018
- admin
- 0
General Capabilities in Appium
These Capabilities works for multiple drivers.
Capability | Description | Values |
---|---|---|
automationName |
Which automation engine to use | Appium (default) or Selendroid or
for application built with You.i Engine |
platformName |
Which mobile OS platform to use | iOS , Android , or FirefoxOS |
platformVersion |
Mobile OS version | e.g., 7.1 , 4.4 |
deviceName |
The kind of mobile device or emulator
to use |
iPhone Simulator , iPad Simulator ,
On iOS, this should be one of the valid devices returned by instruments with On Android this capability is currently ignored, though it remains required. |
app |
The absolute local path or remote http
URL to an
attempt to install this app binary on the appropriate device first. Note that this capability is not required for Android if youspecify
with |
/abs/path/to/my.apk or
|
browserName |
Name of mobile web browser to automate.
Should be an empty string if automating an app instead. |
‘Safari’ for iOS and ‘Chrome’, ‘Chromium’, or ‘Browser’ for Android |
newCommandTimeout |
How long (in seconds) Appium will wait for
a new command from the client before assuming the client quit and ending the session |
e.g. 60 |
language |
(Sim/Emu-only) Language to set for the
simulator / emulator. On Android, available only on API levels 22 and below |
e.g. fr |
locale |
(Sim/Emu-only) Locale to set for the
simulator / emulator. |
e.g. fr_CA |
udid |
Unique device identifier of the connected
physical device |
e.g. 1ae203187fc012g |
orientation |
(Sim/Emu-only) start in a certain orientation | LANDSCAPE or PORTRAIT |
autoWebview |
Move directly into Webview context. Default
|
true , false |
noReset |
Don’t reset app state before this session. | true , false |
fullReset |
Perform a complete reset. | true , false |
eventTimings |
Enable or disable the reporting of the timings
for various Appium-internal events (e.g., the start and end of each command, etc.). Defaults to The timings are then reported as
|
e.g., true |
enablePerformance
|
(Web and webview only) Enable Chromedriver’s (on Android) or Safari’s (on iOS) performance logging (default false ) |
true , false |
printPageSourceOn
|
When a find operation fails, print the current page source. Defaults to false . |
e.g., true |