- 通用资源
- Common capabilities :
Flag JSON key
–keep-artifacts keepArtifacts
–platform-name platformName
–platform-version platformVersion
–automation-name automationName
–device-name deviceName
–browser-name browserName
–app app
–launch-timeout launchTimeout
–language language
–locale locale
–udid udid
–orientation orientation
–no-reset noReset
–full-reset rullReset
–app-pkg appPackage
–app-activity appActivity
–app-wait-package appWaitPackage
–app-wait-activity appWaitActivity
–device-ready-timeout deviceReadyTimeout
–android-coverage androidCoverage
–avd avd
–avd-args avdArgs
–use-keystore useKeystore
–keystore-path keystorePath
–keystore-password keystorePassword
–key-alias keyAlias
–key-password keyPassword
–intent-action intentAction
–intent-category intentCategory
–intent-flags intentFlags
–intent-args optionalIntentArguments
–dont-stop-app-on-reset dontStopAppOnReset
–calendar-format calendarFormat
–native-instruments-lib nativeInstrumentsLib
–keep-keychains keepKeyChains
–localizable-strings-dir localizableStringsDir
–show-ios-log showIOSLog
–reboot reboot</span>
- iOS资源
- for python
- for java
- common
- iOS-specific capabilities
Capability Values
calendarFormat e.g. gregorian
bundleId e.g. io.appium.TestApp
udid e.g. 1ae203187fc012g
launchTimeout e.g. 20000
locationServicesEnabled true or false
locationServicesAuthorized true or false
autoAcceptAlerts true or false
autoDismissAlerts true or false
nativeInstrumentsLib true or false
nativeWebTap true or false
safariInitialUrl e.g. https://www.github.com
safariAllowPopups true or false
safariIgnoreFraudWarning true or false
safariOpenLinksInBackground true or false
keepKeyChains true or false
localizableStringsDir en.lproj
processArguments e.g., -myflag
interKeyDelay e.g., 100
showIOSLog true or false
sendKeyStrategy oneByOne, grouped or setValue
screenshotWaitTimeout e.g., 5
waitForAppScript e.g. true;, target.elements().length > 0;, $.delay(5000); true;
webviewConnectRetries e.g., 12
appName e.g., UICatalog</span>
- java client url:http://appium.github.io/java-client/io/appium/java_client/remote/IOSMobileCapabilityType.html
- Android资源
- for python
- for java
- common
- tbc
- Common capabilities :
Flag JSON key
–keep-artifacts keepArtifacts –platform-name platformName –platform-version platformVersion –automation-name automationName –device-name deviceName –browser-name browserName –app app –launch-timeout launchTimeout –language language –locale locale –udid udid –orientation orientation –no-reset noReset –full-reset rullReset –app-pkg appPackage –app-activity appActivity –app-wait-package appWaitPackage –app-wait-activity appWaitActivity –device-ready-timeout deviceReadyTimeout –android-coverage androidCoverage –avd avd –avd-args avdArgs –use-keystore useKeystore –keystore-path keystorePath –keystore-password keystorePassword –key-alias keyAlias –key-password keyPassword –intent-action intentAction –intent-category intentCategory –intent-flags intentFlags –intent-args optionalIntentArguments –dont-stop-app-on-reset dontStopAppOnReset –calendar-format calendarFormat –native-instruments-lib nativeInstrumentsLib –keep-keychains keepKeyChains –localizable-strings-dir localizableStringsDir –show-ios-log showIOSLog –reboot reboot</span>
- for python
- for java
- common
- iOS-specific capabilities
Capability Values
calendarFormat e.g. gregorian bundleId e.g. io.appium.TestApp udid e.g. 1ae203187fc012g launchTimeout e.g. 20000 locationServicesEnabled true or false locationServicesAuthorized true or false autoAcceptAlerts true or false autoDismissAlerts true or false nativeInstrumentsLib true or false nativeWebTap true or false safariInitialUrl e.g. https://www.github.com safariAllowPopups true or false safariIgnoreFraudWarning true or false safariOpenLinksInBackground true or false keepKeyChains true or false localizableStringsDir en.lproj processArguments e.g., -myflag interKeyDelay e.g., 100 showIOSLog true or false sendKeyStrategy oneByOne, grouped or setValue screenshotWaitTimeout e.g., 5 waitForAppScript e.g. true;, target.elements().length > 0;, $.delay(5000); true; webviewConnectRetries e.g., 12 appName e.g., UICatalog</span>
- java client url:http://appium.github.io/java-client/io/appium/java_client/remote/IOSMobileCapabilityType.html
- iOS-specific capabilities
- for python
- for java
- common