问题
1.Failed to create 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
解决办法:
查看Appium Inspector 版本:
此版本的默认使用Appium 2.0。如果要使用Appium 1.x,则需要更改默认远程服务器路径为/wd/hub。如果使用的是Appium Inspector和Appium 2.x sever,路径信息更改回/。
2.Invalid or unsupported WebDriver报错
解决办法:
添加appium供应商前缀,勾选Automatically add necessary Appium vendor prefixes on start。