Package net.serenitybdd.core.pages
Class PagesAnnotatedField
java.lang.Object
net.serenitybdd.core.pages.PagesAnnotatedField
The Pages object keeps track of the Page Objects used during the tests.
- Author:
- johnsmart
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
PagesAnnotatedField
(Field field, ManagedPages annotation) -
Method Summary
Modifier and TypeMethodDescriptionstatic Optional<PagesAnnotatedField>
findFirstAnnotatedField
(Class<?> testClass) Find the first field in the class annotated with the Managed annotation.static Optional<PagesAnnotatedField>
findOptionalAnnotatedField
(Class<?> testClass) Find the first field in the class annotated with the ManagedPages annotation.Class<?>
protected FieldSetter
void
-
Constructor Details
-
PagesAnnotatedField
-
-
Method Details
-
findFirstAnnotatedField
Find the first field in the class annotated with the Managed annotation. -
findOptionalAnnotatedField
Find the first field in the class annotated with the ManagedPages annotation. -
getFieldType
-
setValue
-
set
-
getDefaultBaseUrl
-