public enum SupportedWebDriver extends java.lang.Enum<SupportedWebDriver>
Enum Constant and Description |
---|
ANDROID |
APPIUM
Appium
|
CHROME
Chrome WebDriver driver.
|
EDGE
Microsoft Edge
|
FIREFOX
Firefox WebDriver driver.
|
HTMLUNIT
HTMLUnit - fast, but no screenshots.
|
IEXPLORER
Internet Explorer
|
IPHONE |
OPERA
Deprecated.
|
PHANTOMJS
Phantom-JS driver - headless javascript.
|
PROVIDED
A user-provided driver
|
REMOTE
Remote web driver
|
SAFARI
Safari
|
Modifier and Type | Method and Description |
---|---|
static SupportedWebDriver |
forClass(java.lang.Class<?> driverClass) |
static SupportedWebDriver |
getClosestDriverValueTo(java.lang.String value) |
static SupportedWebDriver |
getDriverTypeFor(java.lang.String value) |
java.lang.Class<? extends org.openqa.selenium.WebDriver> |
getWebdriverClass() |
static java.lang.String |
listOfSupportedDrivers() |
boolean |
supportsJavascriptInjection() |
static SupportedWebDriver |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SupportedWebDriver |
valueOrSynonymOf(java.lang.String driverName) |
static SupportedWebDriver[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SupportedWebDriver FIREFOX
public static final SupportedWebDriver CHROME
@Deprecated public static final SupportedWebDriver OPERA
public static final SupportedWebDriver HTMLUNIT
public static final SupportedWebDriver PHANTOMJS
public static final SupportedWebDriver REMOTE
public static final SupportedWebDriver IPHONE
public static final SupportedWebDriver ANDROID
public static final SupportedWebDriver IEXPLORER
public static final SupportedWebDriver EDGE
public static final SupportedWebDriver SAFARI
public static final SupportedWebDriver APPIUM
public static final SupportedWebDriver PROVIDED
public static SupportedWebDriver[] values()
for (SupportedWebDriver c : SupportedWebDriver.values()) System.out.println(c);
public static SupportedWebDriver valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static SupportedWebDriver valueOrSynonymOf(java.lang.String driverName)
public java.lang.Class<? extends org.openqa.selenium.WebDriver> getWebdriverClass()
public static java.lang.String listOfSupportedDrivers()
public static SupportedWebDriver getClosestDriverValueTo(java.lang.String value)
public static SupportedWebDriver getDriverTypeFor(java.lang.String value) throws UnsupportedDriverException
UnsupportedDriverException
public static SupportedWebDriver forClass(java.lang.Class<?> driverClass)
public boolean supportsJavascriptInjection()