Interface CustomFindByAnnotationService
-
public interface CustomFindByAnnotationService
Created by Sergio Sacristan on 03/12/17. Implement this Interface to add custom findBy annotations
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.openqa.selenium.By
buildByFromCustomFindByAnnotation(Field field)
Retuns an org.openqa.selenium.By implementation that will be used to find the "field" by Seleniumboolean
isAnnotatedByCustomFindByAnnotation(Field field)
Returns true if the field has any custom annotation
-
-
-
Method Detail
-
isAnnotatedByCustomFindByAnnotation
boolean isAnnotatedByCustomFindByAnnotation(Field field)
Returns true if the field has any custom annotation- Parameters:
field
-- Returns:
- true if the field has any custom annotation
-
buildByFromCustomFindByAnnotation
org.openqa.selenium.By buildByFromCustomFindByAnnotation(Field field)
Retuns an org.openqa.selenium.By implementation that will be used to find the "field" by Selenium- Parameters:
field
-- Returns:
- an org.openqa.selenium.By implementation
-
-