问答 appium 使用无线连接真机进行测试时,4723 端口转发的请求有时会没有响应,插上数据线又会瞬间恢复,请问哪位大佬碰过类似的情况,给点提示。。。?

余good' · 2021年02月02日 · 最后由 bou瓜 回复于 2023年08月07日 · 2696 次阅读

日志如下:
Driver proxy active, passing request on via HTTP proxy
[HTTP] --> GET /wd/hub/session/67600ba3-eddc-4c6a-be63-e3f93abd08be/screenshot
[HTTP] {}
[MJSONWP (67600ba3)] Calling AppiumDriver.getScreenshot() with args: ["67600ba3-eddc-4c6a-be63-e3f93abd08be"]
[HTTP] --> GET /wd/hub/session/67600ba3-eddc-4c6a-be63-e3f93abd08be/source
[HTTP] {}
[MJSONWP (67600ba3)] Driver proxy active, passing request on via HTTP proxy
[HTTP] --> GET /wd/hub/session/67600ba3-eddc-4c6a-be63-e3f93abd08be/window/current/size
[HTTP] {}
[MJSONWP (67600ba3)] Driver proxy active, passing request on via HTTP proxy
[HTTP] --> GET /wd/hub/session/67600ba3-eddc-4c6a-be63-e3f93abd08be/screenshot
[HTTP] {}
[MJSONWP (67600ba3)] Calling AppiumDriver.getScreenshot() with args: ["67600ba3-eddc-4c6a-be63-e3f93abd08be"]
[HTTP] --> GET /wd/hub/session/67600ba3-eddc-4c6a-be63-e3f93abd08be/source
[HTTP] {}
[MJSONWP (67600ba3)] Driver proxy active, passing request on via HTTP proxy
[HTTP] --> GET /wd/hub/session/67600ba3-eddc-4c6a-be63-e3f93abd08be/window/current/size
[HTTP] {}
[MJSONWP (67600ba3)] Driver proxy active, passing request on via HTTP proxy
[HTTP] --> GET /wd/hub/session/67600ba3-eddc-4c6a-be63-e3f93abd08be/source
[HTTP] {}
[MJSONWP (67600ba3)] Driver proxy active, passing request on via HTTP proxy
[HTTP] --> GET /wd/hub/session/67600ba3-eddc-4c6a-be63-e3f93abd08be/screenshot
[HTTP] {}
[MJSONWP (67600ba3)] Calling AppiumDriver.getScreenshot() with args: ["67600ba3-eddc-4c6a-be63-e3f93abd08be"]
[HTTP] --> GET /wd/hub/session/67600ba3-eddc-4c6a-be63-e3f93abd08be/window/current/size

共收到 2 条回复 时间 点赞

是不是手机无线热点打开了,排查一下呢

请问楼主,后来解决了吗?

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