Class AnnotationToBy

java.lang.Object
com.atlassian.jira.pageobjects.framework.util.AnnotationToBy

public final class AnnotationToBy extends Object
Builds By out of arbitrary annotation that follows the pattern of FindBy.

Partially Copied from Selenium2 cause it can't be reused for custom annotations :P

Since:
v4.4
  • Field Details

  • Method Details

    • build

      public static org.openqa.selenium.By build(Annotation findBy)
    • build

      public static org.openqa.selenium.By build(Annotation findBy, String locatorMethodName)