Skip to main content

Device Settings

General Device Settings

Following is the device config list:

KeyPlatformAllowed ValuesDescription
nameAllName of the device.
typeAllREAL, SIMULATORDevice type.
osAllANDROID, IOS, WINDOWSPlatform type.
versionAllPlatform version.
languageAllFRANCE, JAPAN, UK, USDevice language
automationAllAPPIUM, UIAUTOMATOR2, ESPRESSO, XCUIAutomation used.
cloud_capabilitiesAllCloud specific capabilities
headlessAllBooleanRun device in headless mode
browserAllCHROME, CHROMIUM, SAFARIBrowser supported
session_timeoutAllIntNew command timeout value.
playbackAllNASee playback section below for details
androidAndroidNASee android section below for details
iosiOSNASee ios section below for details
launch_timeoutIOSLongDelay in ms.
auto_web_viewAllBooleanEnable automatic web view
othersAllNASee others section below

Android device settings

KeyAllowed ValuesDescription
adbADB objectSee ADB section below for details
appApp objectSee App section below for details
avdAVD objectSee AVD section below for details
webWeb objectSee Web section below for details
disable_animationBooleanTo disable animation on device
skip_device_initBooleanSkip device initialization
skip_server_installBooleanSkip server installation
skip_unlockBooleanSkip device unlock
unlock_typeFINGERPRINT, PASSWORD, PATTERN, PINUnlock type for device
unlock_keyStringKey to unlock device

ADB settings

KeyAllowed ValuesDescription
hostStringADB host address
portIntegerADB port number
timeoutLongADB execute timeout in milliseconds

Android App settings

KeyAllowed ValuesDescription
externalBooleantrue, if app is external, false if app in resources folder
typeHYBRID, NATIVE, WEBType of Application
pathStringApp path
other_appsList of app pathList of apps to be installed along with main application
grant_permissionBooleanAuto grant permission to application
ignore_unimportant_viewsBooleanIgnores hidden elements from DOM
install_timeoutLongAPK installation timeout in milliseconds
no_stop_on_resetBooleanWhether to stop application on session start / restart
package_nameStringName of package
activity_nameStringName of activity
wait_packageStringName of package to wait
wait_activityStringName of activity to wait
wait_timeoutLongNumber of milliseconds to wait for activity / package

AVD settings

KeyAllowed ValuesDescription
nameStringName of virtual device
launch_timeoutLongNumber of milliseconds to wait for virtual device to launch
ready_timeoutLongNumber of milliseconds to wait for virtual device to be ready
network_speedGSM, SCSD, GPRS, EDGE, UMTS, HSDPA, LTE, EVDO, FULLNetwork speed of the device
argsStringVirtual Device arguments

Android Web settings

KeyAllowed ValuesDescription
accept_ssl_certsBooleanAuto accept SSL certificate
show_browser_logsBooleanShow browser logs in console
native_screenshotBooleanEnable native screenshot
chrome_driver_pathStringPath to Chrome driver
optionsOption objectSee Option section below for details
Android Web options settings

To be Added Soon

iOS device settings

KeyAllowed ValuesDescription
appApp objectSee App section below for details
wdaWDA objectSee WDA section below for details
webWeb objectSee Web section below for details
auto_accept_alertsBooleanAuto accept all alerts

iOS App settings

KeyAllowed ValuesDescription
externalBooleantrue, if app is external, false if app in resources folder
typeHYBRID, NATIVE, WEBType of Application
pathStringApp path
bundle_idStringApplication Bundle Id.
launch_timeoutLongDelay in ms.

WDA settings

KeyAllowed ValuesDescription
agent_pathStringWebDriverAgent project location.
bootstrap_pathStringWebDriverAgent xcode project file location.
connection_timeoutLongWDA connection timeout value in milliseconds.
team_idStringApple Developer 10 char unique id.
signing_idStringHardcoded value iPhone Developer.
update_bundle_idStringBundle Id for which code is signed.
use_newBooleantrue, will use new wda app everytime, else false.
use_prebuiltBooleantrue, will not build and deploy wda app on device, else, false.
local_portIntegerWDA port.
startup_retriesIntegerRetry times.
startup_retry_intervalIntegerInterval in secs between retires.

iOS web settings

KeyAllowed ValuesDescription
allow_popupsBooleanAllow javascript to open new windows in Safari
console_logsBooleanShow console logs in console
initial_urlStringInitial Safari URL
native_tapsBooleanAllow native touch
network_logsBooleanAllow network logs

Playback settings

KeyAllowed ValuesDescription
delayDelay objectSee Delay section below for details
recordRecord objectSee Record section below for details
screenshotScreenshot objectSee Screenshot section below for details
streamStream objectSee Stream section below for details
max_swipe_countIntegerMaximum number of swipe until element is displayed

Delay settings

KeyAllowed ValuesDescription
implicitIntegerImplicit wait in seconds
explicitIntegerExplicit wait in seconds
before_tapLongDelay in secs before tap.
after_tapLongDelay in secs after tap.
before_swipeLongDelay in secs before swipe.
after_swipeLongDelay in secs after

Video record settings

KeyPlatformAllowed ValuesDescription
enabledBothBooleanIf true, feature will be enabled
pathBothStringPath for the video, Defaults to /video directory under your test project
prefixBothStringPrefix for the video file. Defaults VID
time_limitBothIntegerTime limit of the video
androidAndroidAndroid objectSee Android video settings below for details
iosiOSiOS objectSee iOS video settings below for details
Android Video settings
KeyPlatformAllowed ValuesDescription
bit_rateAndroidIntegerBit rate for the recorded video. Defaults 4
sizeAndroidString (Format: WxH)Resolution of the video
iOS Video settings
KeyPlatformAllowed ValuesDescription
codeciOSStringThe video codec type used for encoding of the recorded screen capture. Execute ffmpeg -codecs in the terminal to see the list of supported video codecs
fpsiOSIntegerThe Frames Per Second rate of the recorded video. Defaults to 10
qualityiOSLOW, MEDIUM, HIGH, PHOTOThe video encoding quality (low, medium, high, photo - defaults to medium). Only works for real devices

Screenshot settings

KeyAllowed ValuesDescription
on_errorBooleanTrue, will capture screenshot on error
pathStringPath to the folder where screenshots will be stored
prefixStringPrefix for the screenshot file name

Video stream settings

Currently only supports Android platform

KeyAllowed ValuesDescription
enabledBooleanTrue, will enable video streaming
hostStringHost address to stream video on
portIntegerPort number to stream video on
bit_rateIntegerBit rate of stream
qualityHD, HIGH, MEDIUM, LOWStreaming quality
widthIntegerWidth of video
heightIntegerHeight of video

Other settings

KeyAllowed ValuesDescription
clear_filesBooleanClear system files
clear_logsBooleanClear logs
full_resetBooleanFull device reset
no_resetBooleanNo device reset