The premise is that the mobile phone Yi Jing is connected to the computer through adb
1. Open Appium
and click startServer
2. Open Appium Inspector
and fill in the following data
desired_caps常用参数:
platformName 平台的名称:iOS, Android, or FirefoxOS
platformVersion 设备系统版本号
deviceName 设备号 IOS:instruments -s devices,Android: adb devices
app 安装文件路径:/abs/path/to/my.apk or http://myapp.com/app
appActivity 启动的Activity
appPackage 启动的包
unicodeKeyboard unicode设置(允许中文输入)
resetKeyboard 键盘设置(允许中文输入)
Query the package name and startup items of the current application
adb shell dumpsys window w |findstr \/ |findstr name=
adb shell dumpsys window | findstr mCurrentFocus
Get system version:
adb shell getprop ro.build.version.release
Check the link system model:
adb devices -l
Click to start the session.
After loading for a while, click to install the two required apps on your phone. That’s it.