com.version1.webdriver.configuration.TestConfigHelper Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of selenium-java-test-automation Show documentation
Show all versions of selenium-java-test-automation Show documentation
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.
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