Using the WebDriverWait feature of Selenium and trying to change the wait time. I set it to use a time of 10 seconds, but it still waits 60 seconds. I also changed the implicit wait to 120 seconds, but still 60 seconds is the time it will use. Is there another setting I'm missing? Not sure if I am doing something wrong or if there is bug in the WebDriver code. I'm also using PhantomJS as the driver. Also checked with IEDriver, same issue.
This is how WebDriverWait is being used:
WebDriverWait wait = new WebDriverWait(driver, TimeSpan.FromSeconds(10));
wait.Until(ExpectedConditions.ElementExists(By.TagName("span")));