if ("IE".equals(System.getProperty("browser"))) { driver = new InternetExplorerDriver(); } else if ("Chrome".equals(System.getProperty("browser"))) { driver = new ChromeDriver(); } else { //default driver = new FirefoxDriver(); }
22 września 2015
0 Likes