public enum SupportedWebDriver extends Enum<SupportedWebDriver>
Enum Constant and Description |
---|
ANDROID |
APPIUM
Appium
|
CHROME
Chrome WebDriver driver.
|
EDGE
Microsoft Edge
|
FIREFOX
Firefox WebDriver driver.
|
IEXPLORER
Internet Explorer
|
IPHONE |
OPERA
Opera
|
PROVIDED
A user-provided driver
|
REMOTE
Remote web driver
|
SAFARI
Safari
|
Modifier and Type | Method and Description |
---|---|
static SupportedWebDriver |
forClass(Class<?> driverClass) |
static SupportedWebDriver |
getClosestDriverValueTo(String value) |
static SupportedWebDriver |
getDriverTypeFor(String value) |
Class<? extends org.openqa.selenium.WebDriver> |
getWebdriverClass() |
static boolean |
isSupported(String driver) |
boolean |
isW3CCompliant() |
static String |
listOfSupportedDrivers() |
static List<String> |
supportedDrivers() |
boolean |
supportsJavascriptInjection() |
static SupportedWebDriver |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SupportedWebDriver |
valueOrSynonymOf(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
public static final SupportedWebDriver OPERA
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(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static SupportedWebDriver valueOrSynonymOf(String driverName)
public static boolean isSupported(String driver)
public Class<? extends org.openqa.selenium.WebDriver> getWebdriverClass()
public static String listOfSupportedDrivers()
public static SupportedWebDriver getClosestDriverValueTo(String value)
public static SupportedWebDriver getDriverTypeFor(String value) throws DriverConfigurationError
DriverConfigurationError
public static SupportedWebDriver forClass(Class<?> driverClass)
public boolean supportsJavascriptInjection()
public boolean isW3CCompliant()
Copyright © 2021. All rights reserved.