public class DefaultElementByBuilder extends AppiumByBuilder
annotatedElementContainer, automation, DEFAULT_ANNOTATION_METHOD_ARGUMENTS, platform
Constructor and Description |
---|
DefaultElementByBuilder(java.lang.String platform,
java.lang.String automation) |
Modifier and Type | Method and Description |
---|---|
protected void |
assertValidAnnotations() |
org.openqa.selenium.By |
buildBy()
Defines how to transform given object (field, class, etc)
into
By class used by webdriver to locate elements. |
protected org.openqa.selenium.By |
buildDefaultBy() |
protected org.openqa.selenium.By |
buildMobileNativeBy() |
boolean |
isLookupCached()
Defines whether or not given element
should be returned from cache on further calls.
|
createBy, isAndroid, isIOS, isIOSXcuit, isSelendroidAutomation, isWindows, setAnnotated
public DefaultElementByBuilder(java.lang.String platform, java.lang.String automation)
protected void assertValidAnnotations()
assertValidAnnotations
in class AppiumByBuilder
protected org.openqa.selenium.By buildDefaultBy()
buildDefaultBy
in class AppiumByBuilder
protected org.openqa.selenium.By buildMobileNativeBy()
buildMobileNativeBy
in class AppiumByBuilder
public boolean isLookupCached()
AppiumByBuilder
isLookupCached
in class AppiumByBuilder
public org.openqa.selenium.By buildBy()
AppiumByBuilder
By
class used by webdriver to locate elements.buildBy
in class AppiumByBuilder