Class DefaultElementByBuilder
java.lang.Object
org.openqa.selenium.support.pagefactory.AbstractAnnotations
io.appium.java_client.pagefactory.bys.builder.AppiumByBuilder
io.appium.java_client.pagefactory.DefaultElementByBuilder
- Direct Known Subclasses:
WidgetByBuilder
-
Field Summary
Fields inherited from class io.appium.java_client.pagefactory.bys.builder.AppiumByBuilder
annotatedElementContainer, automation, DEFAULT_ANNOTATION_METHOD_ARGUMENTS, platform -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidorg.openqa.selenium.BybuildBy()Defines how to transform given object (field, class, etc) intoByclass used by webdriver to locate elements.protected org.openqa.selenium.Byprotected org.openqa.selenium.BybooleanDefines whether or not given element should be returned from cache on further calls.Methods inherited from class io.appium.java_client.pagefactory.bys.builder.AppiumByBuilder
createBy, isAndroid, isIOS, isIOSXcuit, isTvOS, isWindows, setAnnotated
-
Constructor Details
-
DefaultElementByBuilder
-
-
Method Details
-
assertValidAnnotations
protected void assertValidAnnotations()- Specified by:
assertValidAnnotationsin classAppiumByBuilder
-
buildDefaultBy
protected org.openqa.selenium.By buildDefaultBy()- Specified by:
buildDefaultByin classAppiumByBuilder
-
buildMobileNativeBy
protected org.openqa.selenium.By buildMobileNativeBy()- Specified by:
buildMobileNativeByin classAppiumByBuilder
-
isLookupCached
public boolean isLookupCached()Description copied from class:AppiumByBuilderDefines whether or not given element should be returned from cache on further calls.- Specified by:
isLookupCachedin classAppiumByBuilder
-
buildBy
public org.openqa.selenium.By buildBy()Description copied from class:AppiumByBuilderDefines how to transform given object (field, class, etc) intoByclass used by webdriver to locate elements.- Specified by:
buildByin classAppiumByBuilder
-