public final class

AnnotationToBy

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

Class Overview

Builds org.openqa.selenium.By out of arbitrary annotation that follows the pattern of org.openqa.selenium.support.FindBy.

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

Summary

Constants
String DEFAULT_LOCATOR_METHOD_NAME
Public Methods
static By build(Annotation findBy, String locatorMethodName)
static By build(Annotation findBy)
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final String DEFAULT_LOCATOR_METHOD_NAME

Constant Value: "using"

Public Methods

public static By build (Annotation findBy, String locatorMethodName)

public static By build (Annotation findBy)