app遍历——appCrawler的使用

1.appCrawler环境配置
  1.1 apkinfo获取安装包的报名和mainActivity

  https://github.com/codeskyblue/apkinfo/releases

使用方法:apkinfo 安装包

  1.2 手机镜像工具 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

  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. 简单遍历操作

  2.1 启动Appium : Appium --session-override

  2.2 appCrawler参数:

不加任何参数会输出appCrawler的帮助文档,如图:

猜你喜欢

转载自www.cnblogs.com/csj2018/p/9358290.html