Error: Could not proxy. Proxy error: Could not proxy command to remote server.
来源:1-18 原生app和H5进行相互切换代码实战

慕虎6655462
2018-09-30
使用的逍遥模拟器5.1,appium webdriver已经更改为与模拟器所匹配的版本,在执行代码切换webview后,定位不到元素,百度好久都没找到原因,代码以及报错信息如下(Encountered internal error running command: Error: Could not proxy. Proxy error: Could not proxy command to remote server. Original error: Error: ESOCKETTIMEDOUT)
写回答
1回答
-
Mushishi
2018-09-30
哈哈,不错的问题,我之前遇见过,但是也不知道为什么,看了资料在配置文件中增加上这两个配置就ok了:
nativeWebScreenshot: true,
androidScreenshotPath: 'target/screenshots'0142018-10-13
相似问题