title: Can't wait with selenium-webdriver 2.45
body: <p>I use selenium-webdriver to automate browser tasks. I used to use "WebDriverWait" for wait an element before using it. Example:</p>
  
  <pre><code>WebDriverWait wait = new WebDriverWait(driver, 5);
  wait.until(ExpectedConditions.visibilityOfElementLocated(By.id("frame1")));
  </code></pre>
  
  <p>This doesn't work anymore with the new version 2.45 of webdriver. The argument for "until" method have been changed and I don't know how to do this now.</p>
  
  <p>Does anyone have the same issue?</p>
  
  <p>Documentation: <a href="http://selenium.googlecode.com/git/docs/api/java/org/openqa/selenium/support/ui/FluentWait.html" rel="nofollow">http://selenium.googlecode.com/git/docs/api/java/org/openqa/selenium/support/ui/FluentWait.html</a></p>