public final class AnnotationToBy extends Object
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
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_LOCATOR_METHOD_NAME |
Modifier and Type | Method and Description |
---|---|
static org.openqa.selenium.By |
build(Annotation findBy) |
static org.openqa.selenium.By |
build(Annotation findBy,
String locatorMethodName) |
public static final String DEFAULT_LOCATOR_METHOD_NAME
public static org.openqa.selenium.By build(Annotation findBy)
public static org.openqa.selenium.By build(Annotation findBy, String locatorMethodName)
Copyright © 2002-2019 Atlassian. All Rights Reserved.