java.lang.NoSuchMethodError: org.openqa.selenium.support.ui.Wait.until(Lcom/google/common/base/Function;) using selenium-server-standalone-3.12.0

前端 未结 4 978
轮回少年
轮回少年 2021-01-19 07:38

I\'ve been struggling with selenium to fix this issue:

java.lang.NoSuchMethodError: org.openqa.selenium.support.ui.Wait.until(Lcom/google/common/base/Function         


        
4条回答
  •  Happy的楠姐
    2021-01-19 08:18

    This is compatibility issue. To solve it, you can use Guava version 21 + selenium version 3.2.0 + JDK 8.

    For more details you can check below link:

    https://softwaretestingboard.com/q2a/1907/function-webdriver-fluentwait-webdriver-applicable-arguments#axzz68BFzmEjv

    I hope it will help you.

提交回复
热议问题