安装要求
- macOS, Linux or Windows operating system
- Node.js 14+
- NPM (Node Package Manager) 8+
appium安装
npm install -g appium@next
#注:npm install -g appium 是安装appium v1
xcuitest,uiautomator2驱动安装
appium driver install xcuitest
appium driver install uiautomator2
wda编译
运行appium 会显示已经安装的驱动或者插件的地址
appium-xcuitest-driver 路径:/Users/mac/node_modules/appium-xcuitest-driver
# 进入目录
cd /Users/mac/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragent/Scripts
# 执行命令
node build-webdriveragent.js
https://github.com/appium/appium/blob/master/packages/appium/docs/en/guides/migrating-1-to-2.md
版权声明:本文为qq_24487005原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。