Macaca Macaca Java 版本 execute 报 TimeOut

朱先明 · 2017年02月13日 · 818 次阅读

通过 java 执行 execute 一段 Js 代码,server 日志记录 timeout
代码和日志如下
String js2="return 5";
driver.execute(js2);
日志:
responseHandler.js:11:12 [master] pid:6676 Recieve HTTP Request from Client: method: POST url: /wd/hub/session/40ab885b-c3a7-40b3-a64a-ef0530ac9257/execute, jsonBody: {"code":"return 5"}

responseHandler.js:54:12 [master] pid:6676 Send Error Respone to Client: Timeout: Wait for message from the runner TIMEOUT.
responseHandler.js:60:14 [master] pid:6676 Timeout: Wait for message from the runner TIMEOUT.
at Timeout.setTimeout (C:\Users\xmzhu2\AppData\Roaming\npm\node_modules\macaca-electron\lib\ipc.js:38:14)
at tryOnTimeout (timers.js:224:11)
at Timer.listOnTimeout (timers.js:198:5)
responseHandler.js:76:14 [master] pid:6676 Send Bad HTTP Respone to Client: {"sessionId":"40ab885b-c3a7-40b3-a64a-ef0530ac9257","status":21,"value":{"message":"Wait for message from the runner TIMEOUT."}}

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