desired_caps = {}
desired_caps['platformName'] = 'Android'
desired_caps['platformVersion'] = config.ANDROID_VERSION
desired_caps['deviceName'] = 'Android Emulator'
desired_caps['app'] = 'C://FangCloudV2/nxp\code/ble_app_test/app_test/IoT_Toolbox-5.0.2.apk'
desired_caps['appPackage'] = 'com.freescale.kinetisbletoolbox'
desired_caps['appActivity'] = 'com.freescale.bletoolbox.activity.CheckActivity'
desired_caps['autoGrantPermissions'] = True
desired_caps['autoAcceptAlerts'] = True
self.driver = webdriver.Remote('http://' + config.addressOfAppiumServer + ':' + config.portOfAppiumServer +'/wd/hub', desire
self.driver = webdriver.Remote('http://' + config.addressOfAppiumServer + ':' + config.portOfAppiumServer +'/wd/hub', desired_caps)
这一行代码执行了 25s,正常吗,感觉太慢了,如何加速?