Appium 最新的 Selenium 有 bug。 driver.getContextHandles() 会出错!

恒温 · May 28, 2014 · Last by 思寒_seveniruby replied at May 28, 2014 · 1942 hits

It's confirmed as Selenium bug. Endpoints for contexts were accidentally deleted. Working on a PR to Selenium

https://github.com/appium/java-client/issues/36

回滚到 2.41.0 吧

<dependency>
  <groupId>org.seleniumhq.selenium</groupId>
  <artifactId>selenium-java</artifactId>
  <version>2.41.0</version>
  <scope>test</scope>
</dependency>
如果觉得我的文章对您有用,请随意打赏。您的支持将鼓励我继续创作!
共收到 3 条回复 时间 点赞

我觉得我以后就只打算用 2.41.0, 这个貌似没升级的必要

恒温 #2 · May 28, 2014 Author

#1 楼 @seveniruby 最新的好像修复了。

#2 楼 @lihuazhang 估计是紧急的 bugfix, 我觉得现在 appium 的测试用例已经很多. 比 selenium 自己的测试体系都要好了

需要 Sign In 后方可回复, 如果你还没有账号请点击这里 Sign Up