title: How to use WebDriver Wait in IE?
body: <p>I have Home Page, from the if I click Login, it will be navigated to another page (there i have to enter login credentials to login the account.</p>
  
  <p>Without the below piece of Code, it is perfectly working for Firefox and Chrome.. But IE it is not working.. I assumed to add wait so that IE problem will resolve.. </p>
  
  <pre><code>WebDriverWait Test_Wait=new WebDriverWait(driver,10);
   WebElement click=Test_Wait.until(ExpectedConditions.elementIfVisible("login_xpath"));
  </code></pre>
  
  <p>I have added this code.. But I am getting error to change elementIfVisible to elementClickable.. If i change to elementClickable. Again it is giving error to change elementIfVisible.. How to resolve this??</p>
  
  <pre><code>package com.test.testCase;
  
  import java.io.File;
  
  import org.openqa.selenium.chrome.ChromeDriver;
  import org.openqa.selenium.firefox.FirefoxDriver;
  import org.openqa.selenium.ie.InternetExplorerDriver;
  import org.openqa.selenium.support.ui.ExpectedCondition;
  import org.openqa.selenium.support.ui.ExpectedConditions;
  import org.openqa.selenium.support.ui.WebDriverWait;
  
  import com.test.utitlity.clickEvent;
  import com.test.utitlity.globalVariables;
  import com.test.utitlity.switchWindow;
  
  public class driverManager extends globalVariables{
      public static void driverManager(){
         browser="ie";
         if(browser.equals("ie")){    
         File file = new File("./IEDriverServer.exe");        
         System.setProperty("webdriver.ie.driver", file.getPath());
         driver= new InternetExplorerDriver();
         }
        else if (browser.equals("firefox"))
         {
             driver=new FirefoxDriver();
         }
         else if (browser.equals("chrome"))
         {
             File file= new File("./chromedriver.exe");
             System.setProperty("webdriver.chrome.driver", file.getPath());
             System.out.println(file.getPath());
             driver=new ChromeDriver();
         }
         driver.get("http://www.xxxx.in");
         clickEvent.clickAt("login_xpath");
         WebDriverWait Test_Wait=new WebDriverWait(driver,10);
         WebElement click=Test_Wait.until(ExpectedConditions.elementIfVisible("login_xpath"));
         switchWindow.swindow("TST.");        
  
      }
  }
  </code></pre>