大佬的项目已经 3 年时间没有维护了,最近使用到了这个工具,但是有些问题需要修改,所以必须要修改代码。看到很多 pr 也没有合并,就干脆自己 fork 一个来维护
添加了从源代码编译此工具的一些步骤,希望对从头编译工具的小伙伴有一些帮助,希望大家踊跃参与。
https://github.com/trevorwang/AppCrawler
[9.14]
合并 2.4 版本代码 使用 gradle 来打包
这里下载最新版本
https://github.com/trevorwang/AppCrawler/releases
这个是好事,必须要支持
支持楼主
支持楼主
楼主 fork 到哪里去了?
O(∩_∩) O 哈哈~ sb 了
哈哈笑哭😂😂😂😂
惊喜,最近在研究这个工具
更新了 appium client 库到 7.3 以支持最新版的 appium
大赞,准备用用><
Exception in thread "main" org.openqa.selenium.SessionNotCreatedException: Unable to create a new remote session. Please check the server log for more details. Original error: An unknown server-side error occurred while processing the command. Original error: Could not find a driver for platformName ''. Please check your desired capabilities (WARNING: The server did not provide any stacktrace information)
我用网盘里的就不会报错 这个新版本会报这个
这个是基于 2.1 的版本做的, 需要配置 platformName 和 那个 automationName:
大佬 我加了那两个参数 是可以运行了 可是总是卡在 app 首页 不进行点击 超时 60 秒以后就自动停止了 是不是和 app 有关系啊 还是因为什么 感觉是 app 没有解析出来
debug] [WD Proxy] Matched '/window/current/size' to command name 'getWindowSize'
[debug] [WD Proxy] Proxying [GET /window/current/size] to [GET http://127.0.0.1:8200/wd/hub/session/a0c5f7c4-e7f8-45ce-b123-851f0ca993b7/window/current/size] with no body
[debug] [WD Proxy] Got response with status 200: {"sessionId":"a0c5f7c4-e7f8-45ce-b123-851f0ca993b7","value":{"height":2259,"width":1080}}
[debug] [W3C (531b9e00)] Responding to client with driver.getWindowRect() result: {"width":1080,"height":2259,"x":0,"y":0}
[HTTP] <-- GET /wd/hub/session/531b9e00-1e25-41ba-935c-c43d64e2b9da/window/rect 200 23 ms - 50
[HTTP]
[HTTP] --> GET /wd/hub/session/531b9e00-1e25-41ba-935c-c43d64e2b9da/source
[HTTP] {}
[W3C (531b9e00)] Driver proxy active, passing request on via HTTP proxy
[debug] [WD Proxy] Matched '/wd/hub/session/531b9e00-1e25-41ba-935c-c43d64e2b9da/source' to command name 'getPageSource'
[debug] [WD Proxy] Proxying [GET /wd/hub/session/531b9e00-1e25-41ba-935c-c43d64e2b9da/source] to [GET http://127.0.0.1:8200/wd/hub/session/a0c5f7c4-e7f8-45ce-b123-851f0ca993b7/source] with no body
[debug] [WD Proxy] Got response with status 200: {"sessionId":"a0c5f7c4-e7f8-45ce-b123-851f0ca993b7","value":"<?xml version='1.0' encoding='UTF-8' standalone='yes' ?>\r\n\r\n \r\n \r\n <android.widget.FrameLayout ind...
[WD Proxy] Replacing sessionId a0c5f7c4-e7f8-45ce-b123-851f0ca993b7 with 531b9e00-1e25-41ba-935c-c43d64e2b9da
[HTTP] <-- GET /wd/hub/session/531b9e00-1e25-41ba-935c-c43d64e2b9da/source 200 114 ms - 7108
[HTTP]
[BaseDriver] Shutting down because we waited 60 seconds for a command
[Appium] Closing session, cause was 'New Command Timeout of 60 seconds expired. Try customizing the timeout using the 'newCommandTimeout' desired capability'
[Appium] Removing session '531b9e00-1e25-41ba-935c-c43d64e2b9da' from our master session list
[debug] [UiAutomator2] Deleting UiAutomator2 session
[debug] [UiAutomator2] Deleting UiAutomator2 server session
[debug] [WD Proxy] Matched '/' to command name 'deleteSession'
[debug] [WD Proxy] Proxying [DELETE /] to [DELETE http://127.0.0.1:8200/wd/hub/session/a0c5f7c4-e7f8-45ce-b123-851f0ca993b7] with no body
[debug] [WD Proxy] Got response with status 200: {"sessionId":"a0c5f7c4-e7f8-45ce-b123-851f0ca993b7","value":null}
[debug] [ADB] Running '/Users/dean/Library/Android/sdk/platform-tools/adb -P 5037 -s 6HJDU19530002236 shell am force-stop com.etekcity.vesyncplatform.check'
[debug] [Logcat] Stopping logcat capture
[debug] [ADB] Removing forwarded port socket connection: 8200
[debug] [ADB] Running '/Users/dean/Library/Android/sdk/platform-tools/adb -P 5037 -s 6HJDU19530002236 forward --remove tcp:8200'
[UiAutomator2] Restoring hidden api policy to the device default configuration
[debug] [ADB] Running '/Users/dean/Library/Android/sdk/platform-tools/adb -P 5037 -s 6HJDU19530002236 shell 'settings delete global hidden_api_policy_pre_p_apps;settings delete global hidden_api_policy_p_apps;settings delete global hidden_api_policy''
[debug] [Instrumentation] .
[debug] [Instrumentation] Time: 71.074
[debug] [Instrumentation]
[debug] [Instrumentation] OK (1 test)
给大佬赞一个,刚刚开始接触,请问大佬,AppCrawler 支不支持 android 10 呢
支持 appium1.17.0 版本吗
运行速度有优化吗,总感觉这个速度实在是难受,现在有较好的自动化遍历的开源工具吗?
有个 UIcrawler 可以看下 并么有对运行速度做修改
有些步骤等待时间比较长,为了保证每次页面都有更新,确实有优化的地方