admin管理员组文章数量:1794759
InvalidSelectorException: Locator Strategy 'css selector' is not supported for this sessio
Appium运行报错InvalidSelectorException: Locator Strategy ‘css selector’ is not supported for this session 一、一般都是Appium的版本不匹配造成,更新为最新版本即可,我将java-client更新为最新版本后问题解决 <dependency> <groupId>io.appium</groupId> <artifactId>java-client</artifactId> <version>RELEASE</version> </dependency> 二、另外,在Appium的GitHub-issuegithub/appium/java-client/issues/1084中发现另一个说法,可能有的人是这种原因造成的
- 大概意思就是说最新版的java-client已经包括了selenium依赖,将依赖中的selenium-java移除,仅适用最新版的java-client即可。
本文标签: strategyampInvalidSelectorExceptionLocatorsupported
版权声明:本文标题:InvalidSelectorException: Locator Strategy &#039;css selector&#039; is not supported for this sessio 内容由林淑君副主任自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.xiehuijuan.com/baike/1686592143a85366.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论