Enum Class PlayWrightConfigurationProperties
java.lang.Object
java.lang.Enum<PlayWrightConfigurationProperties>
net.serenitybdd.screenplay.playwright.PlayWrightConfigurationProperties
- All Implemented Interfaces:
Serializable,Comparable<PlayWrightConfigurationProperties>,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionBase URL used to construct full URLs viapage.navigate("/path").Browser channel to use (e.g.Whether to run browser in headless mode.Slows down Playwright operations by the specified amount of milliseconds.Enable Playwright tracing for debugging with the trace viewer. -
Method Summary
Modifier and TypeMethodDescriptionasBooleanFrom(net.thucydides.model.util.EnvironmentVariables environmentVariables) asDoubleFrom(net.thucydides.model.util.EnvironmentVariables environmentVariables) asStringFrom(net.thucydides.model.util.EnvironmentVariables environmentVariables) Returns the enum constant of this class with the specified name.static PlayWrightConfigurationProperties[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BROWSER_TYPE
-
HEADLESS
Whether to run browser in headless mode. Defaults totrue. -
TRACING
Enable Playwright tracing for debugging with the trace viewer. -
CHANNEL
Browser channel to use (e.g. "chrome", "msedge"). -
BASE_URL
Base URL used to construct full URLs viapage.navigate("/path"). -
SLOW_MO
Slows down Playwright operations by the specified amount of milliseconds. Useful for debugging.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
asStringFrom
-
asBooleanFrom
-
asDoubleFrom
-