• 有出实体书,或者电子版吗?想拜读一下~

  • 基于思维导图的用例设计 at 2020年05月28日

    楼主请问 arrayfly.com 现在不开放访问了吗?

  • 希望你可以坚持下去,把我带飞 +1,点赞

  • 装了 xposed,在下载里面搜了 xmonkey,都没有可下载的模块啊,设定里面更改了版本,只看到一个叫 1 的模块,下载不了,且提示不是有效的 apk,这有能用吗???? 有那位大哥用了的,麻烦告知下怎么解决,注意:其他的模块我下载是可以的

  • 谢分享

  • AB 工具 (apache bench) 初探 at 2018年08月14日

    大佬,等你下回分解

  • ok,感谢~

  • 请教个问题,最近也在研究,测的 android,发现跳转到 fb 的网页登陆页面,无法抓到这个 h5 页面上面的元素,我看官网是说支持 native app 的,不知道具体是怎么样,能否有资料参考下啊

  • 最近也看到了 katalon,发现也是非常不错,也 google,度娘了很多,发现资料确实少,官方文档也看了,英文不好,楼主能分享下心得,或者一些学习的资料吗??

  • 期待楼主 virtualxposed 的版本,膜拜楼主

  • 想请问一下楼主,这个 fps 跟网速是要怎么计算尼??? 之前也有查询过,不过实验当中的所得数据好像并不是很准确,可以分享一下思路是怎么样吗??因为用的 python

  • 图片识别与跳一跳小游戏 at 2018年01月12日

    看到了这个,想请问,自动化当中想通过你这种方法,来点击一些无法获取的控件或判断这个控件是否存在,不知道是否可行????

  • 一早上社区看到了楼楼发了很多文章,赶脚很不错,赞~

  • 他好像是要从 native_app 模式切换到 WebView 模式,继续关注,也没找到什么资料,看怎么解决

  • 邮箱有点曝光了身份,可以发一下发送邮件的代码看看吗?我现在发送的报告直接发的一个展示页面,没有压缩成一个附件,想看看是怎么压缩的,其实我这边也实现了很多的功能:重跑,截图,日志,图片对比,性能数据量化图,发送邮件(这个没你的好)等等,源码肯定是不能贴出来了,你懂的,具体做法,可以交流一下,也想相互印证大家好的 appium 扩展功能

  • 真机上面设置了这个,确实是生效的

  • win10 环境 Macaca Python 尝试 at 2017年10月20日

    >> No webview version found from adb shell!
    >> use default chromedriver version!
    >> starting chromedriver service!
    >> chromedriver bin path: D:\nodejs\node-global\node_modules\macaca-android\node
    _modules\macaca-chromedriver\exec\chromedriver2.20.exe
    >> Starting ChromeDriver 2.22.397933 (1cab651507b88dec79b2b2a22d1943c01833cc1b)
    on port 9516
    Only local connections are allowed.
    
    >> chromedriver starting success.
    >> proxy.js:51:14 [master] pid:123744 Proxy: /status:GET to http://localhost:951
    6/wd/hub/status:GET with body:
    >> proxy.js:59:16 [master] pid:123744 Got response with status 200: "{\"sessionI
    d\":\"\",\"status\":0,\"value\":{\"build\":{\"version\":\"alpha\"},\"os\":{\"arc
    h\":\"x86_64\",\"name\":\"Windows NT\",\"version\":\"6.1.7601 SP1\"}}}"
    >> proxy.js:51:14 [master] pid:123744 Proxy: /session:POST to http://localhost:9
    516/wd/hub/session:POST with body: {"desiredCapabilities":{"chromeOptions":{"and
    roidPackage":"com.github.android_app_bootstrap","androidUseRunningApp":true,"and
    roidDeviceSerial":"ENU7N15B10002359"}}}
    >> proxy.js:59:16 [master] pid:123744 Got response with status 200: {"sessionId"
    :"081760a5bd6948c9d8b97d74c2051f50","status":100,"value":{"message":"chrome not
    reachable\n  (Driver info: chromedriver=2.22.397933 (1cab651507b88dec79b2b2a22d1
    943c01833cc1b),platform=W...
    >> chromedriver ready with: {"sessionId":null,"status":100,"value":{"message":"c
    hrome not reachable\n  (Driver info: chromedriver=2.22.397933 (1cab651507b88dec7
    9b2b2a22d1943c01833cc1b),platform=Windows NT 6.1.7601 SP1 x86_64)"}}
    >> proxy.js:51:14 [master] pid:123744 Proxy: /wd/hub/session/:sessionId/window_h
    andles:GET to http://localhost:9516/wd/hub/session/081760a5bd6948c9d8b97d74c2051
    f50/window_handles:GET with body: {}
    >> proxy.js:59:16 [master] pid:123744 Got response with status 200: {"sessionId"
    :"081760a5bd6948c9d8b97d74c2051f50","status":6,"value":{"message":"no such sessi
    on\n  (Driver info: chromedriver=2.22.397933 (1cab651507b88dec79b2b2a22d1943c018
    33cc1b),platform=Windows ...
    >> responseHandler.js:56:12 [master] pid:123744 Send Error Respone to Client: No
    SuchDriver: no such session
      (Driver info: chromedriver=2.22.397933 (1cab651507b88dec79b2b2a22d1943c01833cc
    1b),platform=Windows NT 6.1.7601 SP1 x86_64)
    >> responseHandler.js:62:14 [master] pid:123744 NoSuchDriver: no such session
      (Driver info: chromedriver=2.22.397933 (1cab651507b88dec79b2b2a22d1943c01833cc
    1b),platform=Windows NT 6.1.7601 SP1 x86_64)
        at Object._.parseWebDriverResult (D:\nodejs\node-global\node_modules\macaca-
    android\lib\helper.js:72:11)
        at Android.getWebviews (D:\nodejs\node-global\node_modules\macaca-android\li
    b\macaca-android.js:327:16)
        at next (native)
        at onFulfilled (D:\nodejs\node-global\node_modules\macaca-cli\node_modules\c
    o\index.js:65:19)
        at process._tickCallback (internal/process/next_tick.js:109:7)
    >> responseHandler.js:78:14 [master] pid:123744 Send Bad HTTP Respone to Client[
    2017-10-20 17:54:02]: {"sessionId":"06b85ea6-84c3-427a-8211-101f1c3ae587","statu
    s":6,"value":{"message":"no such session\n  (Driver info: chromedriver=2.22.3979
    33 (1cab651507b88dec79b2b2a22d1943c01833cc1b),platform=Windows NT 6.1.7601 SP1 x
    86_64)"}}
    >> responseHandler.js:11:12 [master] pid:123744 Recieve HTTP Request from Client
    [2017-10-20 17:54:02]: method: GET url: /wd/hub/session/06b85ea6-84c3-427a-8211-
    101f1c3ae587/contexts, jsonBody: {}
    >> proxy.js:51:14 [master] pid:123744 Proxy: /wd/hub/session/:sessionId/window_h
    andles:GET to http://localhost:9516/wd/hub/session/081760a5bd6948c9d8b97d74c2051
    f50/window_handles:GET with body: {}
    >> proxy.js:59:16 [master] pid:123744 Got response with status 200: {"sessionId"
    :"081760a5bd6948c9d8b97d74c2051f50","status":6,"value":{"message":"no such sessi
    on\n  (Driver info: chromedriver=2.22.397933 (1cab651507b88dec79b2b2a22d1943c018
    33cc1b),platform=Windows ...
    >> responseHandler.js:56:12 [master] pid:123744 Send Error Respone to Client: No
    SuchDriver: no such session
      (Driver info: chromedriver=2.22.397933 (1cab651507b88dec79b2b2a22d1943c01833cc
    1b),platform=Windows NT 6.1.7601 SP1 x86_64)
    >> responseHandler.js:62:14 [master] pid:123744 NoSuchDriver: no such session
      (Driver info: chromedriver=2.22.397933 (1cab651507b88dec79b2b2a22d1943c01833cc
    1b),platform=Windows NT 6.1.7601 SP1 x86_64)
        at Object._.parseWebDriverResult (D:\nodejs\node-global\node_modules\macaca-
    android\lib\helper.js:72:11)
        at Android.getWebviews (D:\nodejs\node-global\node_modules\macaca-android\li
    b\macaca-android.js:327:16)
        at next (native)
        at onFulfilled (D:\nodejs\node-global\node_modules\macaca-cli\node_modules\c
    o\index.js:65:19)
        at process._tickCallback (internal/process/next_tick.js:109:7)
    >> responseHandler.js:78:14 [master] pid:123744 Send Bad HTTP Respone to Client[
    2017-10-20 17:54:02]: {"sessionId":"06b85ea6-84c3-427a-8211-101f1c3ae587","statu
    s":6,"value":{"message":"no such session\n  (Driver info: chromedriver=2.22.3979
    33 (1cab651507b88dec79b2b2a22d1943c01833cc1b),platform=Windows NT 6.1.7601 SP1 x
    86_64)"}}
    >> responseHandler.js:11:12 [master] pid:123744 Recieve HTTP Request from Client
    [2017-10-20 17:54:02]: method: DELETE url: /wd/hub/session/06b85ea6-84c3-427a-82
    11-101f1c3ae587, jsonBody: {}
    >> session.js:80:12 [master] pid:123744 Delete session, sessionId: 06b85ea6-84c3
    -427a-8211-101f1c3ae587
    >> responseHandler.js:49:14 [master] pid:123744 Send HTTP Respone to Client[2017
    -10-20 17:54:02]: {"sessionId":"06b85ea6-84c3-427a-8211-101f1c3ae587","status":0
    }
    >> macaca-chromedriver.js:168:18 [master] pid:123744 chromedriver exit with code
    : null, signal: SIGTERM
    
    
    

    @harsayer
    已经根据系统的 chrome 版本,选择了对应的驱动,一到官方 demo 的第 4 个切换网页的就挂了,这要如何解决,模拟器跟真机都挂了,换了好几个版本都不行

  • 看了标题,先顶个赞

  • win10 环境 Macaca Python 尝试 at 2017年10月20日

    @harsayer
    换了一部 android 8.0 的机子可以跑起来了,但是为什么 android 4.3 的机子,竟然没有跑起来???问了一下 qq 群的人,他们说 5.1 的也没有跑起来,6.0 以上就可以,这样有点尴尬~感谢你的指导,谢谢

  • win10 环境 Macaca Python 尝试 at 2017年10月20日
    UIAutomatorWD->http://localhost:9001<-UIAutomatorWD
    INSTRUMENTATION_STATUS_CODE: 0
    
    >> UIAutomatorWD http server ready
    >> proxy.js:55:14 [master] pid:154912 Proxy: /wd/hub/session/9a770030-8647-4845-
    a38e-59533a1bf653/element:POST to http://127.0.0.1:9001/wd/hub/session/9a770030-
    8647-4845-a38e-59533a1bf653/element:POST with body: {"using":"name","value":"Ale
    rt"}
    >> proxy.js:85:20 [master] pid:154912 Got response with status 200: {"sessionId"
    :"9a770030-8647-4845-a38e-59533a1bf653","status":32,"value":"Argument was an inv
    alid selector (e.g. XPath/CSS)."}
    >> session.js:109:14 [master] pid:154912 Send HTTP Respone to Client[2017-10-20
    14:54:26]: {"sessionId":"9a770030-8647-4845-a38e-59533a1bf653","status":32,"valu
    e":"\"Argument was an invalid selector (e.g. XPath/CSS).\""}
    >> responseHandler.js:11:12 [master] pid:154912 Recieve HTTP Request from Client
    [2017-10-20 14:54:27]: method: POST url: /wd/hub/session/9a770030-8647-4845-a38e
    -59533a1bf653/element, jsonBody: {"using":"name","value":"Alert"}
    >> restart UIAutomatorWD server
    >> uiautomator-client.js:61:14 [master] pid:154912 INSTRUMENTATION_RESULT: short
    Msg=Process crashed.
    >> uiautomator-client.js:61:14 [master] pid:154912
    INSTRUMENTATION_CODE: 0
    
    >> uiautomator-client.js:61:14 [master] pid:154912 INSTRUMENTATION_STATUS: id=An
    droidJUnitRunner
    
    >> uiautomator-client.js:61:14 [master] pid:154912 INSTRUMENTATION_STATUS: curre
    nt=1
    INSTRUMENTATION_STATUS: class=com.macaca.android.testing.UIAutomatorWD
    INSTRUMENTATION_STATUS: stream=
    com.macaca.android.testing.UIAutomatorWD:
    INSTRUMENTATION_STATUS: numtests=1
    INSTRUMENTATION_STATUS: test=MacacaTestRunner
    INSTRUMENTATION_STATUS_CODE: 1
    
    >> uiautomator-client.js:61:14 [master] pid:154912 INSTRUMENTATION_STATUS: strea
    m=
    UIAutomatorWD->http://localhost:9001<-UIAutomatorWD
    >> UIAutomatorWD http server ready
    >> proxy.js:55:14 [master] pid:154912 Proxy: /wd/hub/session/9a770030-8647-4845-
    a38e-59533a1bf653/element:POST to http://127.0.0.1:9001/wd/hub/session/9a770030-
    8647-4845-a38e-59533a1bf653/element:POST with body: {"using":"name","value":"Ale
    rt"}
    >> uiautomator-client.js:61:14 [master] pid:154912
    INSTRUMENTATION_STATUS_CODE: 0
    
    >> proxy.js:85:20 [master] pid:154912 Got response with status 200: {"sessionId"
    :"9a770030-8647-4845-a38e-59533a1bf653","status":32,"value":"Argument was an inv
    alid selector (e.g. XPath/CSS)."}
    >> session.js:109:14 [master] pid:154912 Send HTTP Respone to Client[2017-10-20
    14:54:29]: {"sessionId":"9a770030-8647-4845-a38e-59533a1bf653","status":32,"valu
    e":"\"Argument was an invalid selector (e.g. XPath/CSS).\""}
    >> responseHandler.js:11:12 [master] pid:154912 Recieve HTTP Request from Client
    [2017-10-20 14:54:30]: method: POST url: /wd/hub/session/9a770030-8647-4845-a38e
    -59533a1bf653/element, jsonBody: {"using":"name","value":"Alert"}
    >> restart UIAutomatorWD server
    >> uiautomator-client.js:61:14 [master] pid:154912 INSTRUMENTATION_RESULT: short
    Msg=Process crashed.
    INSTRUMENTATION_CODE: 0
    
    >> uiautomator-client.js:61:14 [master] pid:154912 INSTRUMENTATION_STATUS: id=An
    droidJUnitRunner
    
    >> uiautomator-client.js:61:14 [master] pid:154912 INSTRUMENTATION_STATUS: curre
    nt=1
    INSTRUMENTATION_STATUS: class=com.macaca.android.testing.UIAutomatorWD
    INSTRUMENTATION_STATUS: stream=
    com.macaca.android.testing.UIAutomatorWD:
    INSTRUMENTATION_STATUS: numtests=1
    INSTRUMENTATION_STATUS: test=MacacaTestRunner
    INSTRUMENTATION_STATUS_CODE: 1
    
    >> uiautomator-client.js:61:14 [master] pid:154912 INSTRUMENTATION_STATUS: strea
    m=
    >> uiautomator-client.js:61:14 [master] pid:154912
    UIAutomatorWD->http://localhost:9001<-UIAutomatorWD
    INSTRUMENTATION_STATUS_CODE: 0
    
    >> UIAutomatorWD http server ready
    >> proxy.js:55:14 [master] pid:154912 Proxy: /wd/hub/session/9a770030-8647-4845-
    a38e-59533a1bf653/element:POST to http://127.0.0.1:9001/wd/hub/session/9a770030-
    8647-4845-a38e-59533a1bf653/element:POST with body: {"using":"name","value":"Ale
    rt"}
    >> proxy.js:85:20 [master] pid:154912 Got response with status 200: {"sessionId"
    :"9a770030-8647-4845-a38e-59533a1bf653","status":32,"value":"Argument was an inv
    alid selector (e.g. XPath/CSS)."}
    >> session.js:109:14 [master] pid:154912 Send HTTP Respone to Client[2017-10-20
    14:54:33]: {"sessionId":"9a770030-8647-4845-a38e-59533a1bf653","status":32,"valu
    e":"\"Argument was an invalid selector (e.g. XPath/CSS).\""}
    >> responseHandler.js:11:12 [master] pid:154912 Recieve HTTP Request from Client
    [2017-10-20 14:54:33]: method: POST url: /wd/hub/session/9a770030-8647-4845-a38e
    -59533a1bf653/element, jsonBody: {"using":"name","value":"Webview"}
    >> restart UIAutomatorWD server
    >> uiautomator-client.js:61:14 [master] pid:154912 INSTRUMENTATION_RESULT: short
    Msg=Process crashed.
    >> uiautomator-client.js:61:14 [master] pid:154912
    INSTRUMENTATION_CODE: 0
    
    >> uiautomator-client.js:61:14 [master] pid:154912 INSTRUMENTATION_STATUS: id=An
    droidJUnitRunner
    INSTRUMENTATION_STATUS: current=1
    INSTRUMENTATION_STATUS: class=com.macaca.android.testing.UIAutomatorWD
    INSTRUMENTATION_STATUS: stream=
    com.macaca.android.testing.UIAutomatorWD:
    INSTRUMENTATION_STATUS: numtests=1
    INSTRUMENTATION_STATUS: test=MacacaTestRunner
    INSTRUMENTATION_STATUS_CODE: 1
    
    >> uiautomator-client.js:61:14 [master] pid:154912 INSTRUMENTATION_STATUS: strea
    m=
    UIAutomatorWD->http://localhost:9001<-UIAutomatorWD
    >> UIAutomatorWD http server ready
    >> proxy.js:55:14 [master] pid:154912 Proxy: /wd/hub/session/9a770030-8647-4845-
    a38e-59533a1bf653/element:POST to http://127.0.0.1:9001/wd/hub/session/9a770030-
    8647-4845-a38e-59533a1bf653/element:POST with body: {"using":"name","value":"Web
    view"}
    >> uiautomator-client.js:61:14 [master] pid:154912
    INSTRUMENTATION_STATUS_CODE: 0
    
    >> proxy.js:85:20 [master] pid:154912 Got response with status 200: {"sessionId"
    :"9a770030-8647-4845-a38e-59533a1bf653","status":32,"value":"Argument was an inv
    alid selector (e.g. XPath/CSS)."}
    >> session.js:109:14 [master] pid:154912 Send HTTP Respone to Client[2017-10-20
    14:54:36]: {"sessionId":"9a770030-8647-4845-a38e-59533a1bf653","status":32,"valu
    e":"\"Argument was an invalid selector (e.g. XPath/CSS).\""}
    >> responseHandler.js:11:12 [master] pid:154912 Recieve HTTP Request from Client
    [2017-10-20 14:54:37]: method: POST url: /wd/hub/session/9a770030-8647-4845-a38e
    -59533a1bf653/element, jsonBody: {"using":"name","value":"Webview"}
    >> restart UIAutomatorWD server
    >> uiautomator-client.js:61:14 [master] pid:154912 INSTRUMENTATION_RESULT: short
    Msg=Process crashed.
    >> uiautomator-client.js:61:14 [master] pid:154912
    INSTRUMENTATION_CODE: 0
    
    >> uiautomator-client.js:61:14 [master] pid:154912 INSTRUMENTATION_STATUS: id=An
    droidJUnitRunner
    >> uiautomator-client.js:61:14 [master] pid:154912
    INSTRUMENTATION_STATUS: current=1
    INSTRUMENTATION_STATUS: class=com.macaca.android.testing.UIAutomatorWD
    INSTRUMENTATION_STATUS: stream=
    com.macaca.android.testing.UIAutomatorWD:
    INSTRUMENTATION_STATUS: numtests=1
    >> uiautomator-client.js:61:14 [master] pid:154912
    INSTRUMENTATION_STATUS: test=MacacaTestRunner
    INSTRUMENTATION_STATUS_CODE: 1
    
    >> uiautomator-client.js:61:14 [master] pid:154912 INSTRUMENTATION_STATUS: strea
    m=
    >> uiautomator-client.js:61:14 [master] pid:154912
    UIAutomatorWD->http://localhost:9001<-UIAutomatorWD
    
    >> UIAutomatorWD http server ready
    >> proxy.js:55:14 [master] pid:154912 Proxy: /wd/hub/session/9a770030-8647-4845-
    a38e-59533a1bf653/element:POST to http://127.0.0.1:9001/wd/hub/session/9a770030-
    8647-4845-a38e-59533a1bf653/element:POST with body: {"using":"name","value":"Web
    view"}
    >> uiautomator-client.js:61:14 [master] pid:154912 INSTRUMENTATION_STATUS_CODE:
    0
    
    >> proxy.js:85:20 [master] pid:154912 Got response with status 200: {"sessionId"
    :"9a770030-8647-4845-a38e-59533a1bf653","status":32,"value":"Argument was an inv
    alid selector (e.g. XPath/CSS)."}
    >> session.js:109:14 [master] pid:154912 Send HTTP Respone to Client[2017-10-20
    14:54:39]: {"sessionId":"9a770030-8647-4845-a38e-59533a1bf653","status":32,"valu
    e":"\"Argument was an invalid selector (e.g. XPath/CSS).\""}
    >> responseHandler.js:11:12 [master] pid:154912 Recieve HTTP Request from Client
    [2017-10-20 14:54:40]: method: POST url: /wd/hub/session/9a770030-8647-4845-a38e
    -59533a1bf653/element, jsonBody: {"using":"name","value":"Webview"}
    >> restart UIAutomatorWD server
    >> uiautomator-client.js:61:14 [master] pid:154912 INSTRUMENTATION_RESULT: short
    Msg=Process crashed.
    >> uiautomator-client.js:61:14 [master] pid:154912
    INSTRUMENTATION_CODE: 0
    
    >> uiautomator-client.js:61:14 [master] pid:154912 INSTRUMENTATION_STATUS: id=An
    droidJUnitRunner
    
    >> uiautomator-client.js:61:14 [master] pid:154912 INSTRUMENTATION_STATUS: curre
    nt=1
    INSTRUMENTATION_STATUS: class=com.macaca.android.testing.UIAutomatorWD
    INSTRUMENTATION_STATUS: stream=
    com.macaca.android.testing.UIAutomatorWD:
    INSTRUMENTATION_STATUS: numtests=1
    INSTRUMENTATION_STATUS: test=MacacaTestRunner
    INSTRUMENTATION_STATUS_CODE: 1
    
    >> uiautomator-client.js:61:14 [master] pid:154912 INSTRUMENTATION_STATUS: strea
    m=
    UIAutomatorWD->http://localhost:9001<-UIAutomatorWD
    >> UIAutomatorWD http server ready
    >> proxy.js:55:14 [master] pid:154912 Proxy: /wd/hub/session/9a770030-8647-4845-
    a38e-59533a1bf653/element:POST to http://127.0.0.1:9001/wd/hub/session/9a770030-
    8647-4845-a38e-59533a1bf653/element:POST with body: {"using":"name","value":"Web
    view"}
    >> uiautomator-client.js:61:14 [master] pid:154912
    INSTRUMENTATION_STATUS_CODE: 0
    
    >> proxy.js:85:20 [master] pid:154912 Got response with status 200: {"sessionId"
    :"9a770030-8647-4845-a38e-59533a1bf653","status":32,"value":"Argument was an inv
    alid selector (e.g. XPath/CSS)."}
    >> session.js:109:14 [master] pid:154912 Send HTTP Respone to Client[2017-10-20
    14:54:43]: {"sessionId":"9a770030-8647-4845-a38e-59533a1bf653","status":32,"valu
    e":"\"Argument was an invalid selector (e.g. XPath/CSS).\""}
    >> responseHandler.js:11:12 [master] pid:154912 Recieve HTTP Request from Client
    [2017-10-20 14:54:43]: method: GET url: /wd/hub/session/9a770030-8647-4845-a38e-
    59533a1bf653/contexts, jsonBody: {}
    >> No webview version found from adb shell!
    >> use default chromedriver version!
    >> starting chromedriver service!
    >> chromedriver bin path: D:\nodejs\node-global\node_modules\macaca-android\node
    _modules\macaca-chromedriver\exec\chromedriver2.20.exe
    >> Starting ChromeDriver 2.20.353145 (343b531d31eeb933ec778dbcf7081628a1396067)
    on port 9515
    Only local connections are allowed.
    
    >> chromedriver starting success.
    >> proxy.js:51:14 [master] pid:154912 Proxy: /status:GET to http://localhost:951
    5/wd/hub/status:GET with body:
    >> proxy.js:59:16 [master] pid:154912 Got response with status 200: "{\"sessionI
    d\":\"\",\"status\":0,\"value\":{\"build\":{\"version\":\"alpha\"},\"os\":{\"arc
    h\":\"x86_64\",\"name\":\"Windows NT\",\"version\":\"6.1 SP1\"}}}"
    >> proxy.js:51:14 [master] pid:154912 Proxy: /session:POST to http://localhost:9
    515/wd/hub/session:POST with body: {"desiredCapabilities":{"chromeOptions":{"and
    roidPackage":"com.github.android_app_bootstrap","androidUseRunningApp":true,"and
    roidDeviceSerial":"686f4b0c"}}}
    >> proxy.js:59:16 [master] pid:154912 Got response with status 200: {"sessionId"
    :"c42b29351b37f6767c4c761e5ab6f306","status":100,"value":{"message":"chrome not
    reachable\n  (Driver info: chromedriver=2.20.353145 (343b531d31eeb933ec778dbcf70
    81628a1396067),platform=W...
    >> chromedriver ready with: {"sessionId":null,"status":100,"value":{"message":"c
    hrome not reachable\n  (Driver info: chromedriver=2.20.353145 (343b531d31eeb933e
    c778dbcf7081628a1396067),platform=Windows NT 6.1 SP1 x86_64)"}}
    >> proxy.js:51:14 [master] pid:154912 Proxy: /wd/hub/session/:sessionId/window_h
    andles:GET to http://localhost:9515/wd/hub/session/c42b29351b37f6767c4c761e5ab6f
    306/window_handles:GET with body: {}
    >> proxy.js:59:16 [master] pid:154912 Got response with status 200: {"sessionId"
    :"c42b29351b37f6767c4c761e5ab6f306","status":6,"value":{"message":"no such sessi
    on\n  (Driver info: chromedriver=2.20.353145 (343b531d31eeb933ec778dbcf7081628a1
    396067),platform=Windows ...
    >> responseHandler.js:56:12 [master] pid:154912 Send Error Respone to Client: No
    SuchDriver: no such session
      (Driver info: chromedriver=2.20.353145 (343b531d31eeb933ec778dbcf7081628a13960
    67),platform=Windows NT 6.1 SP1 x86_64)
    >> responseHandler.js:62:14 [master] pid:154912 NoSuchDriver: no such session
      (Driver info: chromedriver=2.20.353145 (343b531d31eeb933ec778dbcf7081628a13960
    67),platform=Windows NT 6.1 SP1 x86_64)
        at Object._.parseWebDriverResult (D:\nodejs\node-global\node_modules\macaca-
    android\lib\helper.js:72:11)
        at Android.getWebviews (D:\nodejs\node-global\node_modules\macaca-android\li
    b\macaca-android.js:327:16)
        at next (native)
        at onFulfilled (D:\nodejs\node-global\node_modules\macaca-cli\node_modules\c
    o\index.js:65:19)
        at process._tickCallback (internal/process/next_tick.js:109:7)
    >> responseHandler.js:78:14 [master] pid:154912 Send Bad HTTP Respone to Client[
    2017-10-20 14:55:47]: {"sessionId":"9a770030-8647-4845-a38e-59533a1bf653","statu
    s":6,"value":{"message":"no such session\n  (Driver info: chromedriver=2.20.3531
    45 (343b531d31eeb933ec778dbcf7081628a1396067),platform=Windows NT 6.1 SP1 x86_64
    )"}}
    >> responseHandler.js:11:12 [master] pid:154912 Recieve HTTP Request from Client
    [2017-10-20 14:55:47]: method: GET url: /wd/hub/session/9a770030-8647-4845-a38e-
    59533a1bf653/contexts, jsonBody: {}
    >> proxy.js:51:14 [master] pid:154912 Proxy: /wd/hub/session/:sessionId/window_h
    andles:GET to http://localhost:9515/wd/hub/session/c42b29351b37f6767c4c761e5ab6f
    306/window_handles:GET with body: {}
    >> proxy.js:59:16 [master] pid:154912 Got response with status 200: {"sessionId"
    :"c42b29351b37f6767c4c761e5ab6f306","status":6,"value":{"message":"no such sessi
    on\n  (Driver info: chromedriver=2.20.353145 (343b531d31eeb933ec778dbcf7081628a1
    396067),platform=Windows ...
    >> responseHandler.js:56:12 [master] pid:154912 Send Error Respone to Client: No
    SuchDriver: no such session
      (Driver info: chromedriver=2.20.353145 (343b531d31eeb933ec778dbcf7081628a13960
    67),platform=Windows NT 6.1 SP1 x86_64)
    >> responseHandler.js:62:14 [master] pid:154912 NoSuchDriver: no such session
      (Driver info: chromedriver=2.20.353145 (343b531d31eeb933ec778dbcf7081628a13960
    67),platform=Windows NT 6.1 SP1 x86_64)
        at Object._.parseWebDriverResult (D:\nodejs\node-global\node_modules\macaca-
    android\lib\helper.js:72:11)
        at Android.getWebviews (D:\nodejs\node-global\node_modules\macaca-android\li
    b\macaca-android.js:327:16)
        at next (native)
        at onFulfilled (D:\nodejs\node-global\node_modules\macaca-cli\node_modules\c
    o\index.js:65:19)
        at process._tickCallback (internal/process/next_tick.js:109:7)
    >> responseHandler.js:78:14 [master] pid:154912 Send Bad HTTP Respone to Client[
    2017-10-20 14:55:47]: {"sessionId":"9a770030-8647-4845-a38e-59533a1bf653","statu
    s":6,"value":{"message":"no such session\n  (Driver info: chromedriver=2.20.3531
    45 (343b531d31eeb933ec778dbcf7081628a1396067),platform=Windows NT 6.1 SP1 x86_64
    )"}}
    >> responseHandler.js:11:12 [master] pid:154912 Recieve HTTP Request from Client
    [2017-10-20 14:55:47]: method: DELETE url: /wd/hub/session/9a770030-8647-4845-a3
    8e-59533a1bf653, jsonBody: {}
    >> session.js:80:12 [master] pid:154912 Delete session, sessionId: 9a770030-8647
    -4845-a38e-59533a1bf653
    >> responseHandler.js:49:14 [master] pid:154912 Send HTTP Respone to Client[2017
    -10-20 14:55:47]: {"sessionId":"9a770030-8647-4845-a38e-59533a1bf653","status":0
    }
    >> macaca-chromedriver.js:168:18 [master] pid:154912 chromedriver exit with code
    : null, signal: SIGTERM
    
    

    @harsayer
    已经可以安装上官方的 app 了,但是只是启动了起来,并没有跑起来,这是为什么(就是安装上了,启动了 app 打开了 activity,但具体操作没有触发),看了日志,显示 Send Error Respone to Client,这个要怎么弄。自己都有点脸红了,老是伸手党,可网上资料实在太少。

  • win10 环境 Macaca Python 尝试 at 2017年10月20日

    安装的 adnroid 驱动:

    使用 macaca doctor 的检测:

    @harsayer
    我查看一下 D:\nodejs\node-global\node_modules\macaca-android\node_modules\uiautomatorwd\app\build\outputs\apk\app-deb
    ug.apk /data/local/tmp/com.macaca.android.testin 这个路径下面的东西,还时没有这个文件,难道驱动没有安装成功么??也没提示我失败啊。就是你说的,没有 app-debug.apk 这个

  • win10 环境 Macaca Python 尝试 at 2017年10月20日

    非常感谢你的回答,那我按你的搞搞

  • win10 环境 Macaca Python 尝试 at 2017年10月20日
    ing
    
          at ChildProcess.exithandler (child_process.js:204:12)
          at emitTwo (events.js:106:13)
          at ChildProcess.emit (events.js:191:7)
          at maybeClose (internal/child_process.js:891:16)
          at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
    
    >> responseHandler.js:11:12 [master] pid:140316 Recieve HTTP Request from Client
    [2017-10-20 10:47:23]: method: POST url: /wd/hub/session, jsonBody: {"desiredCap
    abilities":{"app":"E:\\apk_Macaca\\android_app_bootstrap-debug.apk","platformNam
    e":"android"}}
    >> session.js:47:10 [master] pid:140316 Creating session, sessionId: 0c5951d8-76
    f4-4a92-b1d6-038cd2011d5c.
    >> helper.js:208:12 [master] pid:140316 Using local app form E:\apk_Macaca\andro
    id_app_bootstrap-debug.apk
    >> responseHandler.js:56:12 [master] pid:140316 Send Error Respone to Client: Er
    ror: Command failed: D:\Android\sdk/platform-tools/adb -s 192.168.187.101:5555 p
    ush D:\nodejs\node-global\node_modules\macaca-android\node_modules\uiautomatorwd
    \app\build\outputs\apk\app-debug.apk /data/local/tmp/com.macaca.android.testing
    
    >> responseHandler.js:62:14 [master] pid:140316 Error: Command failed: D:\Androi
    d\sdk/platform-tools/adb -s 192.168.187.101:5555 push D:\nodejs\node-global\node
    _modules\macaca-android\node_modules\uiautomatorwd\app\build\outputs\apk\app-deb
    ug.apk /data/local/tmp/com.macaca.android.testing
    
        at ChildProcess.exithandler (child_process.js:204:12)
        at emitTwo (events.js:106:13)
        at ChildProcess.emit (events.js:191:7)
        at maybeClose (internal/child_process.js:891:16)
        at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
    
      Error: Command failed: D:\Android\sdk/platform-tools/adb -s 192.168.187.101:55
    55 push D:\nodejs\node-global\node_modules\macaca-android\node_modules\uiautomat
    orwd\app\build\outputs\apk\app-debug.apk /data/local/tmp/com.macaca.android.test
    ing
    
          at ChildProcess.exithandler (child_process.js:204:12)
          at emitTwo (events.js:106:13)
          at ChildProcess.emit (events.js:191:7)
          at maybeClose (internal/child_process.js:891:16)
          at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
    
    >> responseHandler.js:11:12 [master] pid:140316 Recieve HTTP Request from Client
    [2017-10-20 10:47:24]: method: POST url: /wd/hub/session, jsonBody: {"desiredCap
    abilities":{"app":"E:\\apk_Macaca\\android_app_bootstrap-debug.apk","platformNam
    e":"android"}}
    >> session.js:47:10 [master] pid:140316 Creating session, sessionId: 96857dd9-fe
    1b-4503-b6ab-ce1300065ffd.
    >> helper.js:208:12 [master] pid:140316 Using local app form E:\apk_Macaca\andro
    id_app_bootstrap-debug.apk
    >> responseHandler.js:56:12 [master] pid:140316 Send Error Respone to Client: Er
    ror: Command failed: D:\Android\sdk/platform-tools/adb -s 192.168.187.101:5555 p
    ush D:\nodejs\node-global\node_modules\macaca-android\node_modules\uiautomatorwd
    \app\build\outputs\apk\app-debug.apk /data/local/tmp/com.macaca.android.testing
    
    >> responseHandler.js:62:14 [master] pid:140316 Error: Command failed: D:\Androi
    d\sdk/platform-tools/adb -s 192.168.187.101:5555 push D:\nodejs\node-global\node
    _modules\macaca-android\node_modules\uiautomatorwd\app\build\outputs\apk\app-deb
    ug.apk /data/local/tmp/com.macaca.android.testing
    
        at ChildProcess.exithandler (child_process.js:204:12)
        at emitTwo (events.js:106:13)
        at ChildProcess.emit (events.js:191:7)
        at maybeClose (internal/child_process.js:891:16)
        at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
    
      Error: Command failed: D:\Android\sdk/platform-tools/adb -s 192.168.187.101:55
    55 push D:\nodejs\node-global\node_modules\macaca-android\node_modules\uiautomat
    orwd\app\build\outputs\apk\app-debug.apk /data/local/tmp/com.macaca.android.test
    ing
    
          at ChildProcess.exithandler (child_process.js:204:12)
          at emitTwo (events.js:106:13)
          at ChildProcess.emit (events.js:191:7)
          at maybeClose (internal/child_process.js:891:16)
          at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
    
    >> responseHandler.js:11:12 [master] pid:140316 Recieve HTTP Request from Client
    [2017-10-20 10:47:25]: method: POST url: /wd/hub/session, jsonBody: {"desiredCap
    abilities":{"app":"E:\\apk_Macaca\\android_app_bootstrap-debug.apk","platformNam
    e":"android"}}
    >> session.js:47:10 [master] pid:140316 Creating session, sessionId: c6b0d50d-4e
    20-4b58-8ab7-9237303ddadf.
    >> helper.js:208:12 [master] pid:140316 Using local app form E:\apk_Macaca\andro
    id_app_bootstrap-debug.apk
    >> responseHandler.js:56:12 [master] pid:140316 Send Error Respone to Client: Er
    ror: Command failed: D:\Android\sdk/platform-tools/adb -s 192.168.187.101:5555 p
    ush D:\nodejs\node-global\node_modules\macaca-android\node_modules\uiautomatorwd
    \app\build\outputs\apk\app-debug.apk /data/local/tmp/com.macaca.android.testing
    
    >> responseHandler.js:62:14 [master] pid:140316 Error: Command failed: D:\Androi
    d\sdk/platform-tools/adb -s 192.168.187.101:5555 push D:\nodejs\node-global\node
    _modules\macaca-android\node_modules\uiautomatorwd\app\build\outputs\apk\app-deb
    ug.apk /data/local/tmp/com.macaca.android.testing
    
        at ChildProcess.exithandler (child_process.js:204:12)
        at emitTwo (events.js:106:13)
        at ChildProcess.emit (events.js:191:7)
        at maybeClose (internal/child_process.js:891:16)
        at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
    
      Error: Command failed: D:\Android\sdk/platform-tools/adb -s 192.168.187.101:55
    55 push D:\nodejs\node-global\node_modules\macaca-android\node_modules\uiautomat
    orwd\app\build\outputs\apk\app-debug.apk /data/local/tmp/com.macaca.android.test
    ing
    
          at ChildProcess.exithandler (child_process.js:204:12)
          at emitTwo (events.js:106:13)
          at ChildProcess.emit (events.js:191:7)
          at maybeClose (internal/child_process.js:891:16)
          at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
    
    >> responseHandler.js:11:12 [master] pid:140316 Recieve HTTP Request from Client
    [2017-10-20 10:47:26]: method: POST url: /wd/hub/session, jsonBody: {"desiredCap
    abilities":{"app":"E:\\apk_Macaca\\android_app_bootstrap-debug.apk","platformNam
    e":"android"}}
    >> session.js:47:10 [master] pid:140316 Creating session, sessionId: bc2a70af-6f
    e2-4ca2-b56f-e1a645ad007a.
    >> helper.js:208:12 [master] pid:140316 Using local app form E:\apk_Macaca\andro
    id_app_bootstrap-debug.apk
    >> responseHandler.js:56:12 [master] pid:140316 Send Error Respone to Client: Er
    ror: Command failed: D:\Android\sdk/platform-tools/adb -s 192.168.187.101:5555 p
    ush D:\nodejs\node-global\node_modules\macaca-android\node_modules\uiautomatorwd
    \app\build\outputs\apk\app-debug.apk /data/local/tmp/com.macaca.android.testing
    
    >> responseHandler.js:62:14 [master] pid:140316 Error: Command failed: D:\Androi
    d\sdk/platform-tools/adb -s 192.168.187.101:5555 push D:\nodejs\node-global\node
    _modules\macaca-android\node_modules\uiautomatorwd\app\build\outputs\apk\app-deb
    ug.apk /data/local/tmp/com.macaca.android.testing
    
        at ChildProcess.exithandler (child_process.js:204:12)
        at emitTwo (events.js:106:13)
        at ChildProcess.emit (events.js:191:7)
        at maybeClose (internal/child_process.js:891:16)
        at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
    
      Error: Command failed: D:\Android\sdk/platform-tools/adb -s 192.168.187.101:55
    55 push D:\nodejs\node-global\node_modules\macaca-android\node_modules\uiautomat
    orwd\app\build\outputs\apk\app-debug.apk /data/local/tmp/com.macaca.android.test
    ing
    
          at ChildProcess.exithandler (child_process.js:204:12)
          at emitTwo (events.js:106:13)
          at ChildProcess.emit (events.js:191:7)
          at maybeClose (internal/child_process.js:891:16)
          at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
    
    >> responseHandler.js:11:12 [master] pid:140316 Recieve HTTP Request from Client
    [2017-10-20 10:47:27]: method: POST url: /wd/hub/session, jsonBody: {"desiredCap
    abilities":{"app":"E:\\apk_Macaca\\android_app_bootstrap-debug.apk","platformNam
    e":"android"}}
    >> session.js:47:10 [master] pid:140316 Creating session, sessionId: aefaade2-ef
    83-4ef9-b694-de7d2562c7f8.
    >> helper.js:208:12 [master] pid:140316 Using local app form E:\apk_Macaca\andro
    id_app_bootstrap-debug.apk
    >> responseHandler.js:56:12 [master] pid:140316 Send Error Respone to Client: Er
    ror: Command failed: D:\Android\sdk/platform-tools/adb -s 192.168.187.101:5555 p
    ush D:\nodejs\node-global\node_modules\macaca-android\node_modules\uiautomatorwd
    \app\build\outputs\apk\app-debug.apk /data/local/tmp/com.macaca.android.testing
    
    >> responseHandler.js:62:14 [master] pid:140316 Error: Command failed: D:\Androi
    d\sdk/platform-tools/adb -s 192.168.187.101:5555 push D:\nodejs\node-global\node
    _modules\macaca-android\node_modules\uiautomatorwd\app\build\outputs\apk\app-deb
    ug.apk /data/local/tmp/com.macaca.android.testing
    
        at ChildProcess.exithandler (child_process.js:204:12)
        at emitTwo (events.js:106:13)
        at ChildProcess.emit (events.js:191:7)
        at maybeClose (internal/child_process.js:891:16)
        at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
    
      Error: Command failed: D:\Android\sdk/platform-tools/adb -s 192.168.187.101:55
    55 push D:\nodejs\node-global\node_modules\macaca-android\node_modules\uiautomat
    orwd\app\build\outputs\apk\app-debug.apk /data/local/tmp/com.macaca.android.test
    ing
    
          at ChildProcess.exithandler (child_process.js:204:12)
          at emitTwo (events.js:106:13)
          at ChildProcess.emit (events.js:191:7)
          at maybeClose (internal/child_process.js:891:16)
          at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
    
    >> responseHandler.js:11:12 [master] pid:140316 Recieve HTTP Request from Client
    [2017-10-20 10:47:28]: method: POST url: /wd/hub/session, jsonBody: {"desiredCap
    abilities":{"app":"E:\\apk_Macaca\\android_app_bootstrap-debug.apk","platformNam
    e":"android"}}
    >> session.js:47:10 [master] pid:140316 Creating session, sessionId: 80784b7a-0a
    da-4ce6-af8c-c24fbe827d4e.
    >> helper.js:208:12 [master] pid:140316 Using local app form E:\apk_Macaca\andro
    id_app_bootstrap-debug.apk
    >> responseHandler.js:56:12 [master] pid:140316 Send Error Respone to Client: Er
    ror: Command failed: D:\Android\sdk/platform-tools/adb -s 192.168.187.101:5555 p
    ush D:\nodejs\node-global\node_modules\macaca-android\node_modules\uiautomatorwd
    \app\build\outputs\apk\app-debug.apk /data/local/tmp/com.macaca.android.testing
    
    >> responseHandler.js:62:14 [master] pid:140316 Error: Command failed: D:\Androi
    d\sdk/platform-tools/adb -s 192.168.187.101:5555 push D:\nodejs\node-global\node
    _modules\macaca-android\node_modules\uiautomatorwd\app\build\outputs\apk\app-deb
    ug.apk /data/local/tmp/com.macaca.android.testing
    
        at ChildProcess.exithandler (child_process.js:204:12)
        at emitTwo (events.js:106:13)
        at ChildProcess.emit (events.js:191:7)
        at maybeClose (internal/child_process.js:891:16)
        at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
    
      Error: Command failed: D:\Android\sdk/platform-tools/adb -s 192.168.187.101:55
    55 push D:\nodejs\node-global\node_modules\macaca-android\node_modules\uiautomat
    orwd\app\build\outputs\apk\app-debug.apk /data/local/tmp/com.macaca.android.test
    ing
    
          at ChildProcess.exithandler (child_process.js:204:12)
          at emitTwo (events.js:106:13)
          at ChildProcess.emit (events.js:191:7)
          at maybeClose (internal/child_process.js:891:16)
          at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
    
    >> responseHandler.js:11:12 [master] pid:140316 Recieve HTTP Request from Client
    [2017-10-20 10:47:29]: method: POST url: /wd/hub/session, jsonBody: {"desiredCap
    abilities":{"app":"E:\\apk_Macaca\\android_app_bootstrap-debug.apk","platformNam
    e":"android"}}
    >> session.js:47:10 [master] pid:140316 Creating session, sessionId: 65497acc-4c
    7d-4792-98f0-fa650e069b41.
    >> helper.js:208:12 [master] pid:140316 Using local app form E:\apk_Macaca\andro
    id_app_bootstrap-debug.apk
    >> responseHandler.js:56:12 [master] pid:140316 Send Error Respone to Client: Er
    ror: Command failed: D:\Android\sdk/platform-tools/adb -s 192.168.187.101:5555 p
    ush D:\nodejs\node-global\node_modules\macaca-android\node_modules\uiautomatorwd
    \app\build\outputs\apk\app-debug.apk /data/local/tmp/com.macaca.android.testing
    
    >> responseHandler.js:62:14 [master] pid:140316 Error: Command failed: D:\Androi
    d\sdk/platform-tools/adb -s 192.168.187.101:5555 push D:\nodejs\node-global\node
    _modules\macaca-android\node_modules\uiautomatorwd\app\build\outputs\apk\app-deb
    ug.apk /data/local/tmp/com.macaca.android.testing
    
        at ChildProcess.exithandler (child_process.js:204:12)
        at emitTwo (events.js:106:13)
        at ChildProcess.emit (events.js:191:7)
        at maybeClose (internal/child_process.js:891:16)
        at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
    
      Error: Command failed: D:\Android\sdk/platform-tools/adb -s 192.168.187.101:55
    55 push D:\nodejs\node-global\node_modules\macaca-android\node_modules\uiautomat
    orwd\app\build\outputs\apk\app-debug.apk /data/local/tmp/com.macaca.android.test
    ing
    
          at ChildProcess.exithandler (child_process.js:204:12)
          at emitTwo (events.js:106:13)
          at ChildProcess.emit (events.js:191:7)
          at maybeClose (internal/child_process.js:891:16)
          at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
    
    >> responseHandler.js:11:12 [master] pid:140316 Recieve HTTP Request from Client
    [2017-10-20 10:47:30]: method: POST url: /wd/hub/session, jsonBody: {"desiredCap
    abilities":{"app":"E:\\apk_Macaca\\android_app_bootstrap-debug.apk","platformNam
    e":"android"}}
    >> session.js:47:10 [master] pid:140316 Creating session, sessionId: 3fdea234-ed
    38-4f71-9864-6b1e28f771c2.
    >> helper.js:208:12 [master] pid:140316 Using local app form E:\apk_Macaca\andro
    id_app_bootstrap-debug.apk
    >> responseHandler.js:56:12 [master] pid:140316 Send Error Respone to Client: Er
    ror: Command failed: D:\Android\sdk/platform-tools/adb -s 192.168.187.101:5555 p
    ush D:\nodejs\node-global\node_modules\macaca-android\node_modules\uiautomatorwd
    \app\build\outputs\apk\app-debug.apk /data/local/tmp/com.macaca.android.testing
    
    >> responseHandler.js:62:14 [master] pid:140316 Error: Command failed: D:\Androi
    d\sdk/platform-tools/adb -s 192.168.187.101:5555 push D:\nodejs\node-global\node
    _modules\macaca-android\node_modules\uiautomatorwd\app\build\outputs\apk\app-deb
    ug.apk /data/local/tmp/com.macaca.android.testing
    
        at ChildProcess.exithandler (child_process.js:204:12)
        at emitTwo (events.js:106:13)
        at ChildProcess.emit (events.js:191:7)
        at maybeClose (internal/child_process.js:891:16)
        at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
    
      Error: Command failed: D:\Android\sdk/platform-tools/adb -s 192.168.187.101:55
    55 push D:\nodejs\node-global\node_modules\macaca-android\node_modules\uiautomat
    orwd\app\build\outputs\apk\app-debug.apk /data/local/tmp/com.macaca.android.test
    ing
    
          at ChildProcess.exithandler (child_process.js:204:12)
          at emitTwo (events.js:106:13)
          at ChildProcess.emit (events.js:191:7)
          at maybeClose (internal/child_process.js:891:16)
          at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
    
    >> responseHandler.js:11:12 [master] pid:140316 Recieve HTTP Request from Client
    [2017-10-20 10:47:31]: method: POST url: /wd/hub/session, jsonBody: {"desiredCap
    abilities":{"app":"E:\\apk_Macaca\\android_app_bootstrap-debug.apk","platformNam
    e":"android"}}
    >> session.js:47:10 [master] pid:140316 Creating session, sessionId: 3c6b6551-68
    e2-4546-9019-772cc7bf5768.
    >> helper.js:208:12 [master] pid:140316 Using local app form E:\apk_Macaca\andro
    id_app_bootstrap-debug.apk
    ^C终止批处理操作吗(Y/N)? y
    
    D:\nodejs\node-global>
    

    @harsayer
    求问,一直卡在 retry conecting server..(我已经按照你的把 apk 下载到本来,并修改了路径),我看了他的 adb 命令,按照他的路径找,没有找到对应的包,感觉是不是没有生成成功??

  • win10 环境 Macaca Python 尝试 at 2017年10月19日

    感觉很赞,写的非常细,开工,按你的来开搞~

  • 额,就是一个开源的 sdk 么?我还以为是测试工具。。。。。