public enum LaunchBrowserMode extends Enum<LaunchBrowserMode>
Enum Constant and Description |
---|
LAUNCH_IF_NOT_ALREADY_LAUNCHED
Launch browser if not already launched.
|
LAUNCH_NEW_BROWSER
Close the existing browser session and launch new browser session.
|
USE_EXISTING_BROWSER
Use the existing browser (the browser shall not use the active existing
secured session).
|
Modifier and Type | Method and Description |
---|---|
static LaunchBrowserMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LaunchBrowserMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LaunchBrowserMode LAUNCH_IF_NOT_ALREADY_LAUNCHED
public static final LaunchBrowserMode USE_EXISTING_BROWSER
public static final LaunchBrowserMode LAUNCH_NEW_BROWSER
public static LaunchBrowserMode[] values()
for (LaunchBrowserMode c : LaunchBrowserMode.values()) System.out.println(c);
public static LaunchBrowserMode 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 null