Skip to main content

Function: buildMobileAppAppiumCapabilitiesSauceSpecificOptional()

function buildMobileAppAppiumCapabilitiesSauceSpecificOptional(opts?): object;

Defined in: providers/src/saucelabs/capabilities.ts:1203

Optional, Sauce-specific capabilities that you can use in your Appium tests. They can be added to the sauce:options block of your session creation code.

Parameters​

opts?​

SauceCapabilityValues = {}

parsed settings to build from

Returns​

object

a slice to spread into sauce:options

allowTouchIdEnroll​

allowTouchIdEnroll: boolean = opts.allowTouchIdEnroll;

appiumVersion​

appiumVersion: string = opts.appiumVersion;

audioCapture​

audioCapture: boolean = opts.audioCapture;

cacheId​

cacheId: string = opts.cacheId;

carrierConnectivityOnly​

carrierConnectivityOnly: boolean = opts.carrierConnectivityOnly;

customLogFiles​

customLogFiles: string[] = opts.customLogFiles;

deviceOrientation​

deviceOrientation: string = opts.deviceOrientation;

deviceType​

deviceType: string = opts.deviceType;

enableAnimations​

enableAnimations: boolean = opts.enableAnimations;

groupFolderRedirectEnabled​

groupFolderRedirectEnabled: boolean = opts.groupFolderRedirectEnabled;

networkCapture​

networkCapture: boolean = opts.networkCapture;

otherApps​

otherApps: string = opts.otherApps;

phoneOnly​

phoneOnly: boolean = opts.phoneOnly;

privateDevicesOnly​

privateDevicesOnly: boolean = opts.privateDevicesOnly;

publicDevicesOnly​

publicDevicesOnly: boolean = opts.publicDevicesOnly;

resigningEnabled​

resigningEnabled: boolean = opts.resigningEnabled;

sauceLabsBypassScreenshotRestriction​

sauceLabsBypassScreenshotRestriction: boolean = opts.sauceLabsBypassScreenshotRestriction;

sauceLabsImageInjectionEnabled​

sauceLabsImageInjectionEnabled: boolean = opts.sauceLabsImageInjectionEnabled;

setupDeviceLock​

setupDeviceLock: boolean = opts.setupDeviceLock;

systemAlertsDelayEnabled​

systemAlertsDelayEnabled: boolean = opts.systemAlertsDelayEnabled;

tabletOnly​

tabletOnly: boolean = opts.tabletOnly;