【问题标题】:Showing error isDisplayed() and .text() navigator error after upgrading Geb to 1.0 from 0.10.0 and selenium to 3.0.1将 Geb 从 0.10.0 升级到 1.0 并将 selenium 升级到 3.0.1 后显示错误 isDisplayed() 和 .text() 导航器错误
【发布时间】:2017-04-12 08:25:46
【问题描述】:

我试图在 build.gradle 中升级 Geb 和 Selenium 版本。将版本 geb 0.10.0 更新为 geb 1.0 并将 Selenium 2.47.1 更新为 3.0.1 后,出现 .isDisplayed 和 text() 方法导航器错误。我正在使用 groovy 2.4.3。我正在使用 spockframeork:spock-core:1.0-groovy-2.4

【问题讨论】:

    标签: selenium groovy spock geb


    【解决方案1】:

    不要使用 selenium 3.0.1,您应该使用 2.52.0 版本,请参阅 Geb 1.0 的文档:http://www.gebish.org/manual/current/#gradle

    你看到了什么错误?你能给我们一个堆栈跟踪什么的吗?

    【讨论】:

      猜你喜欢
      • 2021-10-13
      • 2012-12-11
      • 2022-01-24
      • 2021-03-21
      • 1970-01-01
      • 2016-10-30
      • 2017-03-23
      • 1970-01-01
      • 2021-12-20
      相关资源
      最近更新 更多