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
ConstructorsConstructorDescriptionSmartAnnotations(Field field, MobilePlatform platform) SmartAnnotations(Field field, MobilePlatform platform, CustomFindByAnnotationProviderService customFindByAnnotationProviderService) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidorg.openqa.selenium.BybuildBy()protected org.openqa.selenium.Byprotected 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, isLookupCached
-
Constructor Details
-
SmartAnnotations
-
SmartAnnotations
public SmartAnnotations(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
-
buildByFromFindBy
-
buildByFromLongFindBy
-
buildByFromShortFindBy
-
buildByFromFindBy
Deprecated.use serenitybdd variation -
buildByFromLongFindBy
Deprecated.use serenitybdd variation -
buildByFromShortFindBy
Deprecated.use serenitybdd variation
-