macacajs / macacajs/macaca-android
android在调用waitForElement()方法时,提示bad request
@paradite is already working on this.
Since Jul 4, 2019.
- Dominant language
- JavaScript
- Stars
- 52
- Forks
- 21
- PR merge metrics
- No merged PRs in 30d
Description
macaca相关依赖:
> macaca-doctor version: 2.0.18
>
> Node.js checklist:
>
> node env: D:\nodejs\node.exe
> node version: v8.11.3
>
> Android checklist:
>
> JAVA version is `1.8`
> JAVA_HOME is set to `C:\Program Files\Java\jdk1.8.0_20`
> ANDROID_HOME is set to `C:\Users\Administrator\AppData\Local\Android\android-sdk`
> Platforms is set to `C:\Users\Administrator\AppData\Local\Android\android-sdk\platforms\android-27
>
> ADB tool is set to `C:\Users\Administrator\AppData\Local\Android\android-sdk\platform-tools\adb.exe`
>
> GRADLE_HOME is set to `D:\gradle-4.9`
>
> Installed driver list:
>
> android: 2.1.0
> location: D:\nodejs\node_global\node_modules\macaca-android
日志报错信息:
> proxy.js:75:23 [master] pid:11132 BAD REQUEST: Syntax error. HTTP verb {}POST unhandled.
> proxy.js:78:24 [master] pid:11132 Fail to parse body: SyntaxError: Unexpected token B in JSON at position 0
@xudafeng @SamuelZhaoY
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.