mac 安装 appium2

  • Post author:
  • Post category:其他


安装要求

  • 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

参考链接:

GitHub – appium/appium: Cross-platform automation framework for all kinds of your apps built on top of W3C WebDriver protocol


https://github.com/appium/appium/blob/master/packages/appium/docs/en/guides/migrating-1-to-2.md



版权声明:本文为qq_24487005原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。