macacajs / macacajs/macaca-android
升级到2.0.40后用例出现异常:Request:http://localhost:3456/wd/hub/session/c68bfd70-37a8-4ee4-b380-75ab547648ce/element/1/displayed
@qichuan is already working on this.
Since Oct 22, 2017.
- Dominant language
- JavaScript
- Stars
- 52
- Forks
- 21
- PR merge metrics
- No merged PRs in 30d
Description
版本号:
macaca-android: 2.0.40
macaca-cli:2.0.10
更新前用例跑起来没问题,更新之后几乎无法跑起来了,如错误日志中描述,好像是macaca.client.commands.Element中的isDisplayed()方法报错了。
错误日志如下:
2017-10-12 19:47:13 Request:http://localhost:3456/wd/hub/session/c68bfd70-37a8-4ee4-b380-75ab547648ce/element:{"using":"name","value":"广场"}
2017-10-12 19:47:16 Response:{"status":0,"value":{"ELEMENT":"1"},"sessionId":"c68bfd70-37a8-4ee4-b380-75ab547648ce"}
2017-10-12 19:47:16 Request:http://localhost:3456/wd/hub/session/c68bfd70-37a8-4ee4-b380-75ab547648ce/element/1/displayed
2017-10-12 19:47:19 Response:{"status":13,"value":"An unknown server-side error occurred while processing the command.","sessionId":"c68bfd70-37a8-4ee4-b380-75ab547648ce"}
attempt to search the element for 0 times
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.