title: Error:The method elementToBeClickable(By) in the type ExpectedConditions is not applicable for the arguments (WebElement)
body: <p>I am novice to Selenium and trying to walk through some code.
  It uses Explicit Wait as below functions in Utils.java file.</p>
  
  <pre><code>public static void waitForElement(WebElement element){
  
       WebDriverWait wait = new WebDriverWait(driver, 10);
       wait.until(ExpectedConditions.elementToBeClickable(element));
  
          }
  </code></pre>
  
  <p>When I compile it gives the error :-</p>
  
  <blockquote>
    <p>The method elementToBeClickable(By) in the type ExpectedConditions is not applicable for the arguments (WebElement)</p>
  </blockquote>