|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||

java.lang.Objectjava.lang.Enum<SupportedWebDriver>
net.thucydides.core.webdriver.SupportedWebDriver
public enum SupportedWebDriver
The list of supported web drivers. These are the drivers that support screenshots.
| Enum Constant Summary | |
|---|---|
ANDROID
Android driver |
|
CHROME
Chrome WebDriver driver. |
|
FIREFOX
Firefox WebDriver driver. |
|
HTMLUNIT
HTMLUnit - fast, but no screenshots. |
|
IEXPLORER
Internet Explorer |
|
IPHONE
iPhone driver |
|
OPERA
Opera - use it with SauceLabs |
|
PHANTOMJS
Phantom-JS driver - headless javascript. |
|
PROVIDED
A user-provided driver |
|
REMOTE
Remote web driver |
|
SAFARI
Safari |
|
| Method Summary | |
|---|---|
static SupportedWebDriver |
getClosestDriverValueTo(String value)
|
static SupportedWebDriver |
getDriverTypeFor(String value)
|
Class<? extends org.openqa.selenium.WebDriver> |
getWebdriverClass()
|
static String |
listOfSupportedDrivers()
HTMLUnit - mainly for testing, as this driver does not support screenshots or much AJAX. |
static SupportedWebDriver |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static SupportedWebDriver[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final SupportedWebDriver FIREFOX
public static final SupportedWebDriver CHROME
public static final SupportedWebDriver OPERA
public static final SupportedWebDriver HTMLUNIT
public static final SupportedWebDriver PHANTOMJS
public static final SupportedWebDriver REMOTE
public static final SupportedWebDriver ANDROID
public static final SupportedWebDriver IPHONE
public static final SupportedWebDriver IEXPLORER
public static final SupportedWebDriver SAFARI
public static final SupportedWebDriver PROVIDED
| Method Detail |
|---|
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 name
NullPointerException - if the argument is nullpublic Class<? extends org.openqa.selenium.WebDriver> getWebdriverClass()
public static String listOfSupportedDrivers()
public static SupportedWebDriver getClosestDriverValueTo(String value)
public static SupportedWebDriver getDriverTypeFor(String value)
throws UnsupportedDriverException
UnsupportedDriverException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||