Class SmartAnnotations

java.lang.Object
org.openqa.selenium.support.pagefactory.AbstractAnnotations
org.openqa.selenium.support.pagefactory.Annotations
net.thucydides.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)  
  • Method Summary

    Modifier and Type Method Description
    protected void assertValidAnnotations()  
    org.openqa.selenium.By buildBy()  
    protected org.openqa.selenium.By buildByFromFindBy​(FindBy myFindBy)  
    protected org.openqa.selenium.By buildByFromLongFindBy​(FindBy myFindBy)  
    protected org.openqa.selenium.By buildByFromShortFindBy​(FindBy myFindBy)  

    Methods inherited from class org.openqa.selenium.support.pagefactory.Annotations

    buildByFromDefault, getField, isLookupCached

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • SmartAnnotations

      public SmartAnnotations​(java.lang.reflect.Field field)
  • Method Details

    • assertValidAnnotations

      protected void assertValidAnnotations()
      Overrides:
      assertValidAnnotations in class org.openqa.selenium.support.pagefactory.Annotations
    • buildBy

      public org.openqa.selenium.By buildBy()
      Overrides:
      buildBy in class org.openqa.selenium.support.pagefactory.Annotations
    • 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)