public abstract class AppiumByBuilder
extends org.openqa.selenium.support.pagefactory.AbstractAnnotations
Modifier and Type | Field and Description |
---|---|
protected AnnotatedElementContainer |
annotatedElementContainer |
protected String |
automation |
protected String |
platform |
Modifier | Constructor and Description |
---|---|
protected |
AppiumByBuilder(String platform,
String automation) |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
assertValidAnnotations() |
abstract org.openqa.selenium.By |
buildBy()
Defines how to transform given object (field, class, etc)
into
By class used by webdriver to locate elements. |
protected abstract org.openqa.selenium.By |
buildDefaultBy() |
protected abstract org.openqa.selenium.By |
buildMobileNativeBy() |
protected static org.openqa.selenium.By |
createBy(Annotation[] annotations,
HowToUseSelectors howToUseLocators) |
abstract boolean |
isLookupCached()
Defines whether or not given element
should be returned from cache on further calls.
|
void |
setAnnotated(AnnotatedElement annotated)
This method should be used for the setting up of
AnnotatedElement instances before the building of
By-locator strategies
|
protected final AnnotatedElementContainer annotatedElementContainer
protected final String platform
protected final String automation
protected static org.openqa.selenium.By createBy(Annotation[] annotations, HowToUseSelectors howToUseLocators)
public void setAnnotated(AnnotatedElement annotated)
public abstract org.openqa.selenium.By buildBy()
By
class used by webdriver to locate elements.buildBy
in class org.openqa.selenium.support.pagefactory.AbstractAnnotations
public abstract boolean isLookupCached()
isLookupCached
in class org.openqa.selenium.support.pagefactory.AbstractAnnotations
protected abstract org.openqa.selenium.By buildDefaultBy()
protected abstract org.openqa.selenium.By buildMobileNativeBy()
protected abstract void assertValidAnnotations()
Copyright © 2015. All rights reserved.