I've had a helper class for Selenium that worked like a charm previously, and out of the blue, this issue came up.
I've also attached a screenshot of the affected functions.
until (java.util.function.Function) in FluentWait cannot be applied to (org.openqa.selenium.support.ui.ExpectedCondition) reason: no instance(s) of type variable(s) V exist so that ExpectedCondition conforms to Function

The solution that worked for me was to update the jre used by Intellij. that resolved the issue.
Update: Google Guava 23.0 also fixed the issue for some people.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With