public static enum WebDriverWrapper.Browser extends Enum<WebDriverWrapper.Browser>
Enum Constant and Description |
---|
CHROME
Google Chrome.
|
EDGE
Microsoft Edge.
|
FIREFOX
Mozilla Firefox.
|
INTERNET_EXPLORER
Microsoft Internet Explorer.
|
OPERA
Opera Software Opera.
|
SAFARI
Apple Safari.
|
Modifier and Type | Field and Description |
---|---|
private String |
key
Contains capability key value passed to WebDriver initialization.
|
Modifier and Type | Method and Description |
---|---|
String |
getKey()
Accesses key value.
|
static WebDriverWrapper.Browser |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WebDriverWrapper.Browser[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WebDriverWrapper.Browser FIREFOX
public static final WebDriverWrapper.Browser SAFARI
public static final WebDriverWrapper.Browser INTERNET_EXPLORER
public static final WebDriverWrapper.Browser CHROME
public static final WebDriverWrapper.Browser OPERA
public static final WebDriverWrapper.Browser EDGE
private String key
public static WebDriverWrapper.Browser[] values()
for (WebDriverWrapper.Browser c : WebDriverWrapper.Browser.values()) System.out.println(c);
public static WebDriverWrapper.Browser 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 String getKey()
Copyright © 2018. All rights reserved.