【appium】解决Failed to create session报错问题

appium inspector连接被测设备时,点击Start Session可能会报如下错误

Failed to create session. The requested resource could not be found, or a request was received using an HTTP method that is not supported by the mapped resource 

解决:Remote Path默认是 / ,需要更改为 /wd/hub 。

原因:Appium-Inspector-windows-2023.5.1 默认的 Remote Path是:/ ,本地对应的是Appium Server GUI  Remote Path 需要改成: /wd/hub

再次点击Start Session,正常启动。

猜你喜欢

转载自blog.csdn.net/Yocczy/article/details/130942216