Getting error after update 3.4

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Getting error after update 3.4

Ankit Gupta-2
Below is the error:

required: java.util.function.Function<? super org.openqa.selenium.WebDriver,V>
[ERROR]   found:<java.lang.Boolean>
[ERROR]   reason: cannot infer type-variable(s) V
[ERROR]     (argument mismatch;<java.lang.Boolean> cannot be converted to java.util.function.Function<? super org.openqa.selenium.WebDriver,V>)

Belos is the code where the error is coming:

 boolean   dashbaord = (boolean) (wait.until(ExpectedConditions.urlContains("dashboard")));

Ques: How I can resolve this code?

even I also used below dependency:

You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit
For more options, visit