title: Selenium C#, WebDriverWait timeout
body: <p>I wrote a console application (visual studio 2013, C#) to test my web site with selenium.</p>
  
  <p>This is my code</p>
  
  <pre><code>    public static void Main(string[] args)
      {
          IWebDriver driver = new FirefoxDriver();
          driver.Navigate().GoToUrl("myUrl");
  
          WebDriverWait wait = new WebDriverWait(driver, TimeSpan.FromSeconds(40));
          wait.Until(ExpectedConditions.ElementExists(By.Id("wsConnected")));
  
          driver.Quit();
      }
  </code></pre>
  
  <p>wsConnected is a div I put in page with jquery after page load (less than 10 seconds).</p>
  
  <p>I am using Selenium 2.46.0 with Firefox v39.0</p>
  
  <p>Of course it doesn't work because I get the driver timeout error after 60 seconds, any help will be very appreciated.</p>
  
  <p>Thanks,
  Alessandro</p>
  
  <p>[UPDATE]
  wait.Until fails with this exception:
  An unhandled exception of type 'OpenQA.Selenium.WebDriverException' occurred in WebDriver.Support.dll.
  Additional information: The HTTP request to the remote WebDriver server for URL <a href="http://localhost:7056/hub/session/86847fde-462b-47be-85e1-31cd51791dc3/element" rel="nofollow">http://localhost:7056/hub/session/86847fde-462b-47be-85e1-31cd51791dc3/element</a> timed out after 60 seconds.</p>
  
  <p>[UPDATE 2]
  I downgraded Selenium to 2.43 and firefox to v32, no timeout, endless wait</p>