mac 安装 appium2
macos 安装appium2
·
安装要求
- 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
更多推荐
已为社区贡献3条内容
所有评论(0)