import type { Constraints } from '@appium/types'; export const UI_AUTOMATION_DRIVER_CONSTRAINTS = { platformName: { isString: true, inclusionCaseInsensitive: ['Windows'], presence: true, }, smoothPointerMove: { isString: true, }, delayBeforeClick: { isNumber: true, }, delayAfterClick: { isNumber: true, }, appTopLevelWindow: { isString: true, }, shouldCloseApp: { isBoolean: true, }, appArguments: { isString: true, }, appWorkingDir: { isString: true, }, prerun: { isObject: true, }, postrun: { isObject: true, }, isolatedScriptExecution: { isBoolean: true, }, 'ms:waitForAppLaunch': { isNumber: true, }, 'ms:forcequit': { isBoolean: true, }, webviewEnabled: { isBoolean: true, }, webviewDevtoolsPort: { isNumber: true, }, chromedriverCdnUrl: { isString: true, }, edgedriverCdnUrl: { isString: true, }, chromedriverExecutablePath: { isString: true, }, edgedriverExecutablePath: { isString: true, }, ffmpegExecutablePath: { isString: true, }, } as const satisfies Constraints; export default UI_AUTOMATION_DRIVER_CONSTRAINTS; export type NovaWindowsDriverConstraints = typeof UI_AUTOMATION_DRIVER_CONSTRAINTS;