Class SmartAnnotations
java.lang.Object
org.openqa.selenium.support.pagefactory.AbstractAnnotations
org.openqa.selenium.support.pagefactory.Annotations
net.serenitybdd.core.annotations.locators.SmartAnnotations
public class SmartAnnotations
extends org.openqa.selenium.support.pagefactory.Annotations
-
Constructor Summary
Constructors Constructor Description SmartAnnotations(java.lang.reflect.Field field, MobilePlatform platform)SmartAnnotations(java.lang.reflect.Field field, MobilePlatform platform, CustomFindByAnnotationProviderService customFindByAnnotationProviderService) -
Method Summary
Modifier and Type Method Description protected voidassertValidAnnotations()org.openqa.selenium.BybuildBy()protected org.openqa.selenium.BybuildByFromCustomAnnotationProvider(java.lang.reflect.Field field)protected org.openqa.selenium.BybuildByFromFindBy(FindBy myFindBy)protected org.openqa.selenium.BybuildByFromFindBy(FindBy myDepFindBy)Deprecated.use serenitybdd variationprotected org.openqa.selenium.BybuildByFromLongFindBy(FindBy myFindBy)protected org.openqa.selenium.BybuildByFromLongFindBy(FindBy myDepFindBy)Deprecated.use serenitybdd variationprotected org.openqa.selenium.BybuildByFromShortFindBy(FindBy myFindBy)protected org.openqa.selenium.BybuildByFromShortFindBy(FindBy myDepFindBy)Deprecated.use serenitybdd variationMethods inherited from class org.openqa.selenium.support.pagefactory.Annotations
buildByFromDefault, getField, isLookupCachedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
SmartAnnotations
-
SmartAnnotations
public SmartAnnotations(java.lang.reflect.Field field, MobilePlatform platform, CustomFindByAnnotationProviderService customFindByAnnotationProviderService)
-
-
Method Details
-
assertValidAnnotations
protected void assertValidAnnotations()- Overrides:
assertValidAnnotationsin classorg.openqa.selenium.support.pagefactory.Annotations
-
buildBy
public org.openqa.selenium.By buildBy()- Overrides:
buildByin classorg.openqa.selenium.support.pagefactory.Annotations
-
buildByFromCustomAnnotationProvider
protected org.openqa.selenium.By buildByFromCustomAnnotationProvider(java.lang.reflect.Field field) -
buildByFromFindBy
-
buildByFromLongFindBy
-
buildByFromShortFindBy
-
buildByFromFindBy
Deprecated.use serenitybdd variation -
buildByFromLongFindBy
Deprecated.use serenitybdd variation -
buildByFromShortFindBy
Deprecated.use serenitybdd variation
-