kuben-appium-xcuitest-driver
Version:
Appium driver for iOS using XCUITest for backend
169 lines (165 loc) • 2.85 kB
JavaScript
import _ from 'lodash';
import { desiredCapConstraints as iosDesiredCapConstraints } from 'kuben-appium-ios-driver';
let desiredCapConstraints = _.defaults({
showXcodeLog: {
isBoolean: true
},
wdaLocalPort: {
isNumber: true
},
iosInstallPause: {
isNumber: true
},
xcodeConfigFile: {
isString: true
},
xcodeOrgId: {
isString: true
},
xcodeSigningId: {
isString: true
},
keychainPath: {
isString: true
},
keychainPassword: {
isString: true
},
bootstrapPath: {
isString: true
},
agentPath: {
isString: true
},
tapWithShortPressDuration: {
isNumber: true
},
scaleFactor: {
isString: true
},
usePrebuiltWDA: {
isBoolean: true
},
customSSLCert: {
isString: true
},
preventWDAAttachments: {
isBoolean: true
},
webDriverAgentUrl: {
isString: true
},
derivedDataPath: {
isString: true
},
useNewWDA: {
isBoolean: true
},
wdaLaunchTimeout: {
isNumber: true
},
wdaConnectionTimeout: {
isNumber: true
},
updatedWDABundleId: {
isString: true
},
resetOnSessionStartOnly: {
isBoolean: true
},
commandTimeouts: {
// recognize the cap,
// but validate in the driver#validateDesiredCaps method
},
wdaStartupRetries: {
isNumber: true
},
wdaStartupRetryInterval: {
isNumber: true
},
prebuildWDA: {
isBoolean: true
},
connectHardwareKeyboard: {
isBoolean: true
},
calendarAccessAuthorized: {
isBoolean: true
},
startIWDP: {
isBoolean: true,
},
useSimpleBuildTest: {
isBoolean: true
},
waitForQuiescence: {
isBoolean: true
},
maxTypingFrequency: {
isNumber: true
},
nativeTyping: {
isBoolean: true
},
simpleIsVisibleCheck: {
isBoolean: true
},
useCarthageSsl: {
isBoolean: true
},
shouldUseSingletonTestManager: {
isBoolean: true
},
isHeadless: {
isBoolean: true
},
webkitDebugProxyPort: {
isNumber: true
},
useXctestrunFile: {
isBoolean: true
},
absoluteWebLocations: {
isBoolean: true
},
simulatorWindowCenter: {
isString: true
},
useJSONSource: {
isBoolean: true
},
shutdownOtherSimulators: {
isBoolean: true
},
keychainsExcludePatterns: {
isString: true
},
realDeviceScreenshotter: {
isString: true,
presence: false,
inclusionCaseInsensitive: ['idevicescreenshot']
},
showSafariConsoleLog: {
isBoolean: true
},
showSafariNetworkLog: {
isBoolean: true
},
mjpegServerPort: {
isNumber: true
},
reduceMotion: {
isBoolean: true
},
mjpegScreenshotUrl: {
isString: true
},
permissions: {
isString: true
},
screenshotQuality: {
isNumber: true
},
}, iosDesiredCapConstraints);
export { desiredCapConstraints };
export default desiredCapConstraints;