public static enum Browser.Type extends java.lang.Enum<Browser.Type>
| Enum Constant and Description |
|---|
CHROME |
CHROME_HEADLESS |
FIREFOX |
FIREFOX_HEADLESS |
PHANTOMJS |
| Modifier and Type | Method and Description |
|---|---|
static Browser.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Browser.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@SerializedName(value="Firefox",
alternate={"firefox","FIREFOX"})
public static final Browser.Type FIREFOX
@SerializedName(value="Firefox-Headless",
alternate={"firefox-headless","FIREFOX_HEADLESS"})
public static final Browser.Type FIREFOX_HEADLESS
@SerializedName(value="Chrome",
alternate={"chrome","CHROME"})
public static final Browser.Type CHROME
@SerializedName(value="Chrome-Headless",
alternate={"chrome-headless","CHROME_HEADLESS"})
public static final Browser.Type CHROME_HEADLESS
@SerializedName(value="PhantomJS",
alternate={"phantomjs","PHANTOMJS"})
public static final Browser.Type PHANTOMJS
public static Browser.Type[] values()
for (Browser.Type c : Browser.Type.values()) System.out.println(c);
public static Browser.Type 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 null