Package com.github.dactiv.common.unit.selenium

Examples of com.github.dactiv.common.unit.selenium.Selenium2


   
    //如果selenium没初始化,初始化selenium
    if (s == null) {
      //System.setProperty ( "webdriver.firefox.bin" , "E:/Firefox/firefox.exe" );
      WebDriver driver = WebDriverFactory.createDriver(SELENIUM_DRIVER);
      s = new Selenium2(driver, URL);
      s.setStopAtShutdown();
    }
   
    //载入新的数据
    executeScript("classpath:data/h2/cleanup-data.sql","classpath:data/h2/insert-data.sql");
View Full Code Here

TOP

Related Classes of com.github.dactiv.common.unit.selenium.Selenium2

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.