Macaca android 6.0 内置 chrome57,运行用例时需要 native 转到 webview,报错

MJW · 2017年09月14日 · 最后由 金龙 回复于 2017年10月11日 · 1803 次阅读

已经将版本号换成对应的。

求解答。
'''

chromedriver ready with: {"sessionId":null,"status":100,"value":{"message":"chrome not reachable\n (Driver info: chromedriver=2.32.498537 (cb2f855cbc7b82e20387eaf9a43f6b99b6105061),platform=Mac OS X 10.12.6 x86_64)"}}
proxy.js:51:14 [master] pid:31938 Proxy: /wd/hub/session/:sessionId/window_handles:GET to http://localhost:9515/wd/hub/session/8fa713855cb8ab81ff92c20973984861/window_handles:GET with body: {}
proxy.js:59:16 [master] pid:31938 Got response with status 200: {"sessionId":"8fa713855cb8ab81ff92c20973984861","status":6,"value":{"message":"no such session\n (Driver info: chromedriver=2.32.498537 (cb2f855cbc7b82e20387eaf9a43f6b99b6105061),platform=Mac OS X...
responseHandler.js:56:12 [master] pid:31938 Send Error Respone to Client: NoSuchDriver: no such session
(Driver info: chromedriver=2.32.498537 (cb2f855cbc7b82e20387eaf9a43f6b99b6105061),platform=Mac OS X 10.12.6 x86_64)
responseHandler.js:62:14 [master] pid:31938 NoSuchDriver: no such session
(Driver info: chromedriver=2.32.498537 (cb2f855cbc7b82e20387eaf9a43f6b99b6105061),platform=Mac OS X 10.12.6 x86_64)
at Object._.parseWebDriverResult (/usr/local/lib/node_modules/macaca-android/lib/helper.js:72:11)
at Android.getWebviews (/usr/local/lib/node_modules/macaca-android/lib/macaca-android.js:326:16)
at Android.getWebviews.next ()
at onFulfilled (/usr/local/lib/node_modules/macaca-cli/node_modules/co/index.js:65:19)
at
at process._tickCallback (internal/process/next_tick.js:169:7)
responseHandler.js:78:14 [master] pid:31938 Send Bad HTTP Respone to Client[2017-09-14 15:28:43]: {"sessionId":"382c6ec8-54bb-4113-8a73-66f54d5e7535","status":6,"value":{"message":"no such session\n (Driver info: chromedriver=2.32.498537 (cb2f855cbc7b82e20387eaf9a43f6b99b6105061),platform=Mac OS X 10.12.6 x86_64)"}}

'''

如果觉得我的文章对您有用,请随意打赏。您的支持将鼓励我继续创作!
共收到 1 条回复 时间 点赞

应该是 chrome 版本低

需要 登录 后方可回复, 如果你还没有账号请点击这里 注册