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, setAnnotatedpublic DefaultElementByBuilder(java.lang.String platform,
java.lang.String automation)
protected void assertValidAnnotations()
assertValidAnnotations in class AppiumByBuilderprotected org.openqa.selenium.By buildDefaultBy()
buildDefaultBy in class AppiumByBuilderprotected org.openqa.selenium.By buildMobileNativeBy()
buildMobileNativeBy in class AppiumByBuilderpublic boolean isLookupCached()
AppiumByBuilderisLookupCached in class AppiumByBuilderpublic org.openqa.selenium.By buildBy()
AppiumByBuilderBy class used by webdriver to locate elements.buildBy in class AppiumByBuilder