Enum SupportedWebDriver

java.lang.Object
java.lang.Enum<SupportedWebDriver>
net.thucydides.core.webdriver.SupportedWebDriver
All Implemented Interfaces:
Serializable, Comparable<SupportedWebDriver>, java.lang.constant.Constable

public enum SupportedWebDriver extends Enum<SupportedWebDriver>
The list of supported web drivers. These are the drivers that support screenshots.
  • Enum Constant Details

  • Method Details

    • values

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

      public static SupportedWebDriver valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null
    • valueOrSynonymOf

      public static SupportedWebDriver valueOrSynonymOf(String driverName)
    • isSupported

      public static boolean isSupported(String driver)
    • getWebdriverClass

      public Class<? extends org.openqa.selenium.WebDriver> getWebdriverClass()
    • listOfSupportedDrivers

      public static String listOfSupportedDrivers()
    • supportedDrivers

      public static List<String> supportedDrivers()
    • getClosestDriverValueTo

      public static SupportedWebDriver getClosestDriverValueTo(String value)
    • getDriverTypeFor

      public static SupportedWebDriver getDriverTypeFor(String value) throws DriverConfigurationError
      Throws:
      DriverConfigurationError
    • forClass

      public static SupportedWebDriver forClass(Class<?> driverClass)
    • supportsJavascriptInjection

      public boolean supportsJavascriptInjection()
    • isW3CCompliant

      public boolean isW3CCompliant()