Package ch.vorburger.webdriver.reporting

Examples of ch.vorburger.webdriver.reporting.LoggingWebDriverEventListener


    {
      // System.setProperty("webdriver.chrome.driver", "/opt/google/chrome/chrome");
      // WebDriver driver = new ChromeDriver();
      WebDriver driver = new FirefoxDriver();

      WebDriverEventListener loggingListener = new LoggingWebDriverEventListener(LOG_FILE_WRITER);;
      driverWithReporting = new EventFiringWebDriver(driver);
      driverWithReporting.register(loggingListener);
    }

    driverWithReporting.get("http://www.google.com");
View Full Code Here

TOP

Related Classes of ch.vorburger.webdriver.reporting.LoggingWebDriverEventListener

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.