public enum BrowserType extends Enum<BrowserType>
| Enum Constant and Description |
|---|
CHROME |
CHROME_ONE_VERSION_BACK |
CHROME_TWO_VERSIONS_BACK |
EDGE
Deprecated.
The 'EDGE' option that is being used in your browsers' configuration will soon be deprecated.
Please change it to either "EDGE_LEGACY" for the legacy version or to "EDGE_CHROMIUM" for the new
Chromium-based version.
|
EDGE_CHROMIUM |
EDGE_CHROMIUM_ONE_VERSION_BACK |
EDGE_CHROMIUM_TWO_VERSION_BACK |
EDGE_LEGACY |
FIREFOX |
FIREFOX_ONE_VERSION_BACK |
FIREFOX_TWO_VERSIONS_BACK |
IE_10 |
IE_11 |
SAFARI |
SAFARI_EARLY_ACCESS |
SAFARI_ONE_VERSION_BACK |
SAFARI_TWO_VERSIONS_BACK |
| Modifier and Type | Method and Description |
|---|---|
static BrowserType |
fromName(String value) |
String |
getName() |
String |
toString() |
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 CHROME_ONE_VERSION_BACK
public static final BrowserType CHROME_TWO_VERSIONS_BACK
public static final BrowserType FIREFOX
public static final BrowserType FIREFOX_ONE_VERSION_BACK
public static final BrowserType FIREFOX_TWO_VERSIONS_BACK
public static final BrowserType SAFARI
public static final BrowserType SAFARI_ONE_VERSION_BACK
public static final BrowserType SAFARI_TWO_VERSIONS_BACK
public static final BrowserType SAFARI_EARLY_ACCESS
public static final BrowserType IE_10
public static final BrowserType IE_11
public static final BrowserType EDGE
public static final BrowserType EDGE_LEGACY
public static final BrowserType EDGE_CHROMIUM
public static final BrowserType EDGE_CHROMIUM_ONE_VERSION_BACK
public static final BrowserType EDGE_CHROMIUM_TWO_VERSION_BACK
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 nullpublic String getName()
public static BrowserType fromName(String value) throws IllegalArgumentException
IllegalArgumentException - if unknown string.public String toString()
toString in class Enum<BrowserType>Copyright © 2023. All rights reserved.