标签:
npm install -g appium
pip install Appium-Python-Client
使用
from appium import webdriver des = {} des[‘platformName‘] = ‘Android‘ des[‘platformVersion‘] = ‘4.2‘ des[‘deviceName‘] = ‘Android Emulator‘ des[‘app‘] = "C:\\Users\Administrator\\Desktop\\testappium\\list1.2.apk" webdriver.Remote(‘http://localhost:4723/wd/hub‘, ‘‘)
配置好了之后,发现提示需要android sdk。下好sdk之后。再次运行。
adb devices
appium-doctor
Appium安装过程
原文地址:http://www.cnblogs.com/zhengah/p/4549108.html