title: until in FluentWait cannot be applied - java
body: <p>I've had a helper class for Selenium that worked like a charm previously, and out of the blue, this issue came up.</p>
  
  <p>I've also attached a screenshot of the affected functions.</p>
  
  <p>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</p>
  
  <p><a href="https://i.stack.imgur.com/EjRRQ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/EjRRQ.png" alt="enter image description here"></a></p>