public enum BrowserType extends Enum<BrowserType>
| Enum Constant and Description |
|---|
ANDROID |
CHROME |
EDGE |
FIREFOX |
IEXPLORER |
OPERA |
| Modifier and Type | Method and Description |
|---|---|
static BrowserType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BrowserType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BrowserType CHROME
public static final BrowserType FIREFOX
public static final BrowserType OPERA
public static final BrowserType ANDROID
public static final BrowserType EDGE
public static final BrowserType IEXPLORER
public static BrowserType[] values()
for (BrowserType c : BrowserType.values()) System.out.println(c);
public static BrowserType 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 nullCopyright © 2021. All rights reserved.