title: wait.until(ExpectedCondition) generating error
body: <p>After upgrading to selenium Java 3.8.1 the <code>wait.until(ExpectedCondition)</code> has started giving error message.</p>
  
  <p>For the following piece of code </p>
  
  <pre><code>WebElement framei = wait.until(ExpectedConditions.visibilityOfElementLocated(By.xpath(".//*[@id='ctl00_ContentPlaceHolder1_dlgModal_IFrame']")));       
      driver.switchTo().frame(framei);
      WebElement AcceptRadioButton=wait.until(ExpectedConditions.visibilityOfElementLocated(By.xpath("//*[@id='RblStatus']/tbody/tr[1]/td/label")));
      AcceptRadioButton.click();
  </code></pre>
  
  <p>The following error is given:  </p>
  
  <pre><code>Type The method until(Function&lt;? super WebDriver,V&gt;) in the type FluentWait&lt;WebDriver&gt; is not applicable for the arguments (ExpectedCondition&lt;WebElement&gt;)
  </code></pre>
  
  <p>I tried to resolve the following issue by removing the Selenium java version 3.8.1 of </p>