Environment Variables
This article describes environment variables that influence various XCUITest driver behaviors.
Variable Name |
Description |
|---|---|
APPIUM_PREFER_SYSTEM_UNZIP |
Being set to either 0 or false makes the driver to use built-in Node.js unzipper rather than the system unzip utility. Mostly used for debugging purposes or troubleshooting as the system unzip utility is more performant in comparison to the built-in one. |
APPIUM_XCUITEST_PREFER_DEVICECTL |
Being set to true, 1 or true makes the driver to use the devicectl Xcode utility to fetch the list of available devices UDIDs instead of the built-in usbmuxd client. Might be useful for some scenarios where the latter is unable to detect connected devices. See PR #2194 for more details. |
MJPEG_SCALING_FACTOR |
Overrides the default value for the mjpegScalingFactor setting when WebDriverAgent initializes the MJPEG screenshots broadcaster. Must be in range 1..100. This only affects the MJPEG stream and can still be changed later via the Settings API. See MJPEG guide. |
MJPEG_SERVER_SCREENSHOT_QUALITY |
Overrides the default value for the mjpegServerScreenshotQuality setting when WebDriverAgent initializes the MJPEG screenshots broadcaster. Must be in range 1..100. This only affects the MJPEG stream and can still be changed later via the Settings API. See MJPEG guide. |