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(Field field, MobilePlatform platform)
SmartAnnotations(Field field, MobilePlatform platform, CustomFindByAnnotationProviderService customFindByAnnotationProviderService)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected void
assertValidAnnotations()
org.openqa.selenium.By
buildBy()
protected org.openqa.selenium.By
buildByFromCustomAnnotationProvider(Field field)
protected org.openqa.selenium.By
buildByFromFindBy(FindBy myFindBy)
protected org.openqa.selenium.By
buildByFromFindBy(FindBy myDepFindBy)
Deprecated.use serenitybdd variationprotected org.openqa.selenium.By
buildByFromLongFindBy(FindBy myFindBy)
protected org.openqa.selenium.By
buildByFromLongFindBy(FindBy myDepFindBy)
Deprecated.use serenitybdd variationprotected org.openqa.selenium.By
buildByFromShortFindBy(FindBy myFindBy)
protected org.openqa.selenium.By
buildByFromShortFindBy(FindBy myDepFindBy)
Deprecated.use serenitybdd variation
-
-
-
Constructor Detail
-
SmartAnnotations
public SmartAnnotations(Field field, MobilePlatform platform)
-
SmartAnnotations
public SmartAnnotations(Field field, MobilePlatform platform, CustomFindByAnnotationProviderService customFindByAnnotationProviderService)
-
-
Method Detail
-
assertValidAnnotations
protected void assertValidAnnotations()
- Overrides:
assertValidAnnotations
in classorg.openqa.selenium.support.pagefactory.Annotations
-
buildBy
public org.openqa.selenium.By buildBy()
- Overrides:
buildBy
in classorg.openqa.selenium.support.pagefactory.Annotations
-
buildByFromCustomAnnotationProvider
protected org.openqa.selenium.By buildByFromCustomAnnotationProvider(Field field)
-
buildByFromFindBy
protected org.openqa.selenium.By buildByFromFindBy(FindBy myFindBy)
-
buildByFromLongFindBy
protected org.openqa.selenium.By buildByFromLongFindBy(FindBy myFindBy)
-
buildByFromShortFindBy
protected org.openqa.selenium.By buildByFromShortFindBy(FindBy myFindBy)
-
buildByFromFindBy
@Deprecated protected org.openqa.selenium.By buildByFromFindBy(FindBy myDepFindBy)
Deprecated.use serenitybdd variation
-
buildByFromLongFindBy
@Deprecated protected org.openqa.selenium.By buildByFromLongFindBy(FindBy myDepFindBy)
Deprecated.use serenitybdd variation
-
buildByFromShortFindBy
@Deprecated protected org.openqa.selenium.By buildByFromShortFindBy(FindBy myDepFindBy)
Deprecated.use serenitybdd variation
-
-