app遍历——appCrawler的使用
1.appCrawler環(huán)境配置
1.1 apkinfo獲取安裝包的報(bào)名和mainActivity
https://github.com/codeskyblue/apkinfo/releases
使用方法:apkinfo 安裝包
1.2 手機(jī)鏡像工具 scrcpy
mac安裝scrappy:brew install scrcpy
windows:https://github.com/genymobile/scrcpy
1.3 安裝Appium? sdk
1.4 xpath:http://www.ruanyifeng.com/blog/2009/07/xpath_path_expressions.html
1.5 apk安裝包:ApiDemos.apk
- 鏡像地址?https://github-mirror.open.netease.com/appium/java-client/raw/master/src/test/java/io/appium/java_client/ApiDemos-debug.apk
- 原始地址?https://github.com/appium/java-client/raw/master/src/test/java/io/appium/java_client/ApiDemos-debug.apk
1.6 下載AppCrawler
https://github-mirror.open.netease.com/codeskyblue/atxcrawler/releases/download/0.1/appcrawler-2.1.3.jar
原始下載地址:https://pan.baidu.com/s/1dE0JDCH
資源鏈接:https://github.com/seveniruby/AppCrawler
注意:appcrawler只支持1.8
2. 簡(jiǎn)單遍歷操作
2.1 啟動(dòng)Appium : Appium --session-override
2.2 appCrawler參數(shù):
不加任何參數(shù)會(huì)輸出appCrawler的幫助文檔,如圖:
?
轉(zhuǎn)載于:https://www.cnblogs.com/csj2018/p/9358290.html
總結(jié)
以上是生活随笔為你收集整理的app遍历——appCrawler的使用的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: CSS中颜色代码和单位
- 下一篇: 如何写好接口(php写app移动端接口示