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

org.unitils.selenium.BrowserChoice Maven / Gradle / Ivy

package org.unitils.selenium;

import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
import org.openqa.selenium.htmlunit.HtmlUnitDriver;
import org.openqa.selenium.ie.InternetExplorerDriver;

/**
 * 
 * BrowserChoice.
 * 
 * @author Jeroen Horemans
 * @author Thomas De Rycke
 * @author Willemijn Wouters
 * 
 * @since 1.0.0
 *
 */
public enum BrowserChoice {


    /***/
    FIREFOX(FirefoxDriver.class), 
    /***/
    HTMLUNIT(HtmlUnitDriver.class), 
    /***/
    IE(InternetExplorerDriver.class), 
    /***/
    CHROME(ChromeDriver.class);

    private Class driverClass;

    private BrowserChoice(Class driverClass) {
        this.driverClass = driverClass;
    }

    public Class getDriverClass() {
        return driverClass;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy