title: Wait verify using "ExpectedConditions" does not work
body: <p><strong>UPDATED VERSION</strong></p>
  
  <p>I'm trying to find a more dynamic way to wait for elements instead of using static wait functions like <code>Task.Event(2000).Wait();</code></p>
  
  <p>The solution to this seems to be this:</p>
  
  <pre><code>WebDriverWait wait = new WebDriverWait(driver, TimeSpan.FromSeconds(30));
      wait.Until(ExpectedConditions.ElementToBeClickable(By.XPath("//div[2]/div/input")));
  </code></pre>
  
  <p>But when I use this function, the "ExpectedConditions" always lights up red indicating that it: "does not exist in the current context". </p>
  
  <p>I've placed the function in one of my testcases:</p>
  
  <p>(I am using C#/Visual Studios, Project type: Classlibrary)</p>
  
  <pre><code>using NUnit.Framework;
  using OpenQA.Selenium;
  using OpenQA.Selenium.Chrome;
  using OpenQA.Selenium.Firefox;
  using OpenQA.Selenium.Support.UI;
  using System;
  using System.Collections.Generic;
  using System.Linq;
  using System.Text;
  using System.Threading.Tasks;
  
      namespace ClassLibrary1
      {
          public class MyFirstTest
          {
              IWebDriver driver = new FirefoxDriver();
  
              [Test]
              public void WaitverifyTest()
              {
                  driver.Navigate().GoToUrl("https://www.google.se/");
                  driver.Manage().Window.Maximize();
  
                  Task.Delay(4000).Wait();
  
                  driver.FindElement(By.XPath("//div[2]/div/input")).SendKeys("Selenium");
  
                  WebDriverWait wait = new WebDriverWait(driver, TimeSpan.FromSeconds(10));
                  IWebElement element = wait.Until(ExpectedConditions.ElementToBeClickable(By.XPath("//div[2]/div/input")));
                  element.Click();
  
                  driver.FindElement(By.XPath("//center/input")).Click();
              }
         }
     }
  </code></pre>
  
  <p>(The xpath is a location type xpath, it is valid and works in both Selenium IDE and in Visual Studios.)</p>
  
  <p>Anyone has any idea what I'm doing wrong?</p>
  
  <p>I have two suspicions:</p>
  
  <ol>
  <li>My version of selenium could be too new (3.6.0.0)</li>
  </ol>
  
  <p>According to <a href="https://seleniumhq.github.io/selenium/docs/api/dotnet/html/T_OpenQA_Selenium_Support_UI_ExpectedConditions.htm" rel="nofollow noreferrer">selenium.io</a> , ExpectedCondition was last updated in 3.1.0. Maybe it is no longer vaild. Is there someway to check this?</p>
  
  <ol start="2">
  <li>Maybe my project type is not compatible with ExpectedCondition, and therefore does not recognize it?</li>
  </ol>