vendors.grid.VendorProvider Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of selenium-java-toolkit-base Show documentation
Show all versions of selenium-java-toolkit-base Show documentation
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.
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