Selenium 1

Selenium 1
22 września 2015 OpenText
if ("IE".equals(System.getProperty("browser"))) {

    driver = new InternetExplorerDriver();

} else if ("Chrome".equals(System.getProperty("browser"))) {

    driver = new ChromeDriver();

} else { //default

    driver = new FirefoxDriver();

}