All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.version1.webdriver.configuration.TestConfigHelper Maven / Gradle / Ivy

Go to download

A simple Selenium framework offering externalised configuration, a good selection of libraries for supporting test data, simple WebDriver browser binary resolution and an opinionated approach for WebDriver test design.

There is a newer version: 2.0.1
Show newest version
package com.version1.webdriver.configuration;

/**
 *
 */
public class TestConfigHelper {

    private static TestConfigHelper testConfigHelper;
    private static WebDriverConfig webDriverConfig;

    /**
     *
     */
    private TestConfigHelper() {
        this.webDriverConfig = new ConfigurationLoader()
                .decideWhichConfigurationToUse()
                .build();
    }

    /**
     *
     * @return TestConfigManager returns the instance of the singleton to access the member methods
     */
    public static WebDriverConfig get() {
        if(null == testConfigHelper) {
            testConfigHelper = new TestConfigHelper();
        }
        return webDriverConfig;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy