用 Python 操作 Appium 滑动小红书,大概能滑动个几十次,然后几分钟后,屏幕就不动了。真机调试。
Appium 就出错,显示 ESOCKETTIMEDOUT,具体信息如下:
[WD Proxy] Got response with unknown status: {"code":"ESOCKETTIMEDOUT","connect":false}
[W3C (ddaa6dba)] Encountered internal error running command: UnknownError: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to remote server. Original error: Error: ESOCKETTIMEDOUT
[W3C (ddaa6dba)] at JWProxy.command (/Applications/
Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/jsonwp-proxy/proxy.js:266:13)
我最开始以为是手机端电源管理,杀掉了 Appium 进程,但把所有电源的东西都放开以后,没有变化。请问有啥解决办法吗?