adb命令
查看已打開的軟件的package名和activity名
adb shell dumpsys activity | grep "mResume"
appium json連接配置
{
"platformName": "Android",
"platformVersion": "", #adb shell getprop ro.build.version.release
"deviceName": "", #adb devices -l
"appPackage": "", #adb shell dumpsys activity | grep "mResume"
"appActivity": "
}
weditor安裝及使用
pip3 install --pre -U uiautomator2
pip3 install --pre weditor
python3 -m uiautomator2 init
# 啟動(dòng) weditor
python3 -m weditor
參考
https://blog.csdn.net/gjj920318/article/details/120225402
https://www.cnblogs.com/rookie-c/p/15732094.html
https://baijiahao.baidu.com/s?id=1662021502495073716&wfr=spider&for=pc