Package net.thucydides.core.annotations
Annotation Type Managed
@Retention(RUNTIME)
@Target(FIELD)
public @interface Managed
Annotation that marks a WebDriver field as one that is managed by the Test Runner.
The Serenity Test Runner will instantiate this WebDriver before the tests start,
and close it once they have all finished.
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description ClearCookiesPolicy
clearCookies
java.lang.String
driver
java.lang.String
options
boolean
uniqueSession
-
Element Details
-
uniqueSession
boolean uniqueSession- Default:
- false
-
clearCookies
ClearCookiesPolicy clearCookies- Default:
- BeforeEachTest
-
driver
java.lang.String driver- Default:
- ""
-
options
java.lang.String options- Default:
- ""
-