Interface CustomFindByAnnotationService
public interface CustomFindByAnnotationService
Created by Sergio Sacristan on 03/12/17.
Implement this Interface to add custom findBy annotations
-
Method Summary
Modifier and TypeMethodDescriptionorg.openqa.selenium.ByRetuns an org.openqa.selenium.By implementation that will be used to find the "field" by SeleniumbooleanReturns true if the field has any custom annotation
-
Method Details
-
isAnnotatedByCustomFindByAnnotation
Returns true if the field has any custom annotation- Parameters:
field-- Returns:
- true if the field has any custom annotation
-
buildByFromCustomFindByAnnotation
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
-