Appium Inspector: Failed to create session. The requested resource could not be found
Failed to create session. The requested resource could not be found, or request was received using an HTTP method that is not supported by the mapped resource
·
Failed to create session
使用 Appium Inspector 启动 app 出现报错:
Failed to create session. The requested resource could not be found,
or request was received using an HTTP method that is not supported by the mapped resource
环境
Mac 机上的 Appium Inspector 版本
App Version: 2022.2.1
Electron: 13.6.3
Node.js: 14.16.0
解决方法
此版本的 Appium Inspector 设计为默认使用Appium 2.0。因此,如果要从Appium Desktop(设计用于默认使用Appium 1.x)进行迁移,则需要注意一些更改:默认远程服务器路径已从/wd/hub
更改为/
来映射Appium 2.0的默认服务器路径。如果使用的是Appium Inspector和Appium 1.x sever,可能需要将新会话表单中的路径信息更新回/wd/hub
,改成如下:
参考:https://stackoverflow.com/questions/70549041/appium-failed-to-create-session
更多推荐
已为社区贡献1条内容
所有评论(0)