title: Cannot find WebDriverWait class in OpenQA.Selenium (C#)
body: <p>(Migrating from Java-Selenium to C#-Selenium)</p>
  
  <p>When searching for <strong>explicit waits</strong> with Selenium and C# I find several posts with code that looks similar to the Java-Counterpart:</p>
  
  <p>for example <a href="https://stackoverflow.com/q/6992993/1943133">here</a>:</p>
  
  <pre><code>WebDriverWait wait = new WebDriverWait(driver, new TimeSpan(0,0,5));
  wait.Until(By.Id("login"));
  </code></pre>
  
  <p>or <a href="https://stackoverflow.com/a/25402275/1943133">here</a>:</p>
  
  <pre><code>WebDriverWait wait = new WebDriverWait(driver, 30);
  wait.until(ExpectedConditions.visibilityOfElementLocated(By.id("locator")));
  </code></pre>
  
  <p>WebDriverWait are from the OpenQA.Selenium.Support.UI namespace and comes in a separate package called Selenium WebDriver Support Classes</p>
  
  <p><strong>BUT:</strong><br>
  When I try to code this myself in Visual Studio (getting Selenium package via NuGet), using <code>WebDriverWait</code> in my code will prompt the message:</p>
  
  <blockquote>
    <p>The type or namespace name 'WebDriverWait' could not be found (are you
    missing a using directive or an assembly reference?)</p>
  </blockquote>
  
  <p>Even though I am including the Selenium reference via</p>
  
  <pre><code>using OpenQA.Selenium;
  </code></pre>
  
  <p>When looking up the <a href="https://selenium.googlecode.com/git/docs/api/dotnet/html/T_OpenQA_Selenium_Support_UI_WebDriverWait.htm" rel="noreferrer">documentation for WebDriverWait</a> you will find, that there should be a namespace called</p>
  
  <blockquote>
    <p>OpenQA.Selenium.Support.UI</p>
  </blockquote>
  
  <p>But I cannot access it via "using" in my code.</p>
  
  <p><strong>Why does this happen? Where can I find the WebDriverWait class?</strong></p>