Enum Class WebDrivers

java.lang.Object
java.lang.Enum<WebDrivers>
io.fluentlenium.configuration.WebDrivers
All Implemented Interfaces:
Serializable, Comparable<WebDrivers>, Constable

public enum WebDrivers extends Enum<WebDrivers>
A registry of WebDriverFactory.

For supported webdrivers, see ConfigurationProperties.getWebDriver().

See Also:
  • Enum Constant Details

    • INSTANCE

      public static final WebDrivers INSTANCE
      Singleton
  • Method Details

    • values

      public static WebDrivers[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static WebDrivers valueOf (String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getImpl

      public WebDriversRegistryImpl getImpl()
    • register

      public void register (WebDriverFactory factory)
    • getDefault

      public WebDriverFactory getDefault()
    • get

      public WebDriverFactory get (String name)
    • newWebDriver

      public org.openqa.selenium.WebDriver newWebDriver (String name, org.openqa.selenium.Capabilities capabilities, ConfigurationProperties configuration)