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

vendors.grid.VendorProvider Maven / Gradle / Ivy

Go to download

Selenium-Toolkit is a Java based test-toolkit for selenium-testing with testNg. The goal of the toolkit is, to suport you in different things like 'how to manage testdata in the source', parallelisation, Webdriver-managemet, reporting and a lot more.

There is a newer version: 3.0.11
Show newest version
package vendors.grid;

public class VendorProvider {

    public static final String GRID_VENDOR = "grid.vendor";
    public static final String ELEMENT_34 = "element34";

    public static VendorInterface getVendor(){
        String vendor = System.getProperty(GRID_VENDOR);
        if(ELEMENT_34.equalsIgnoreCase(vendor)) {
            return new Element34VendorSBox();
        } else {
            return new DummyVendor();
        }
    }


}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy