简体   繁体   中英

Mobile automation using Appium and Selenium for Android

在使用适用于Android移动设备的AppiumSelenium WebDriver的移动自动化中, capabilities.setCapability(CapabilityType.VERSION, "4.2")capabilities.setCapability("version", "4.2")之间有什么区别?

Yes. Both are exactly same. CapabilityType.VERSION returns the version as a string constant. But as a practice we are using CapabilityType.VERSION for "version" .

两者都相同,首先我们使用“版本”库,第二次使用e

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM