public static enum ConfigurationProperties.DriverLifecycle extends Enum<ConfigurationProperties.DriverLifecycle>
| Enum Constant and Description |
|---|
CLASS
WebDriver is created for each test class, and same instance is used for each test method in the class.
|
DEFAULT
Default value.
|
JVM
WebDriver is created once, and same instance is used for each test class and method.
|
METHOD
WebDriver is created for each test method, and this instance is used only for one test method.
|
| Modifier and Type | Method and Description |
|---|---|
static ConfigurationProperties.DriverLifecycle |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConfigurationProperties.DriverLifecycle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConfigurationProperties.DriverLifecycle JVM
public static final ConfigurationProperties.DriverLifecycle CLASS
public static final ConfigurationProperties.DriverLifecycle METHOD
public static final ConfigurationProperties.DriverLifecycle DEFAULT
public static ConfigurationProperties.DriverLifecycle[] values()
for (ConfigurationProperties.DriverLifecycle c : ConfigurationProperties.DriverLifecycle.values()) System.out.println(c);
public static ConfigurationProperties.DriverLifecycle 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 © 2016 FluentLenium. All Rights Reserved.