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

dev.galasa.selenium.internal.properties.SeleniumGeckoProfile Maven / Gradle / Ivy

There is a newer version: 0.34.0
Show newest version
/*
 * 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);
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy