dev.galasa.selenium.internal.properties.SeleniumGeckoProfile Maven / Gradle / Ivy
/*
* Licensed Materials - Property of IBM
*
* (c) Copyright IBM Corp. 2019.
*/
package dev.galasa.selenium.internal.properties;
import dev.galasa.framework.spi.ConfigurationPropertyStoreException;
import dev.galasa.framework.spi.cps.CpsProperties;
import dev.galasa.selenium.SeleniumManagerException;
/**
* Selenium Gecko Profile CPS Property
*
* @galasa.cps.property
*
* @galasa.name selenium.instance.INSTANCE.gecko.profile
*
* @galasa.description Provides a profile to use when using the gecko driver for extensions
*
* @galasa.required No
*
* @galasa.valid_values A valid String name of a profile
*
* @galasa.examples
* selenium.instance.PRIMARY.gecko.profile=default
*
*/
public class SeleniumGeckoProfile extends CpsProperties {
public static String get(String instance) throws ConfigurationPropertyStoreException, SeleniumManagerException {
return getStringNulled(SeleniumPropertiesSingleton.cps(), "instance", "gecko.profile", instance);
}
}