public enum BrowserType extends Enum<BrowserType>
| Enum Constant and Description |
|---|
CHROME |
CHROME_MOBILE |
EDGE |
FIREFOX |
OPERA |
SAFARI |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isChromeBased() |
String |
toBrowserName() |
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 EDGE
public static final BrowserType SAFARI
public static final BrowserType CHROME_MOBILE
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 toBrowserName()
public boolean isChromeBased()
Copyright © 2023. All rights reserved.