注意:网上大部分资源都是使用appium1.x版本,所以建议使用1.x版本

Intro to Appium - Appium Documentation

步骤

1. Install Appium
2. Install an Appium driver and its dependencies (we'll be using the UiAutomator2 driver for these examples)
3. Install an Appium client library in your language or choice (this guide contains options for JavaScript, Python, and Java, though Appium clients also exist in other language).
4. Write and run a simple Appium automation script using a sample application

adb使用