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
String
driver
String
options
boolean
uniqueSession
-
-
-
-
clearCookies
ClearCookiesPolicy clearCookies
- Default:
- net.thucydides.core.annotations.ClearCookiesPolicy.BeforeEachTest
-
-
-
driver
String driver
- Default:
- ""
-
-
-
options
String options
- Default:
- ""
-
-