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
public class DefaultElementByBuilder extends AppiumByBuilder
-
-
Field Summary
-
Fields inherited from class io.appium.java_client.pagefactory.bys.builder.AppiumByBuilder
annotatedElementContainer, automation, DEFAULT_ANNOTATION_METHOD_ARGUMENTS, platform
-
-
Constructor Summary
Constructors Constructor Description DefaultElementByBuilder(java.lang.String platform, java.lang.String automation)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidassertValidAnnotations()org.openqa.selenium.BybuildBy()Defines how to transform given object (field, class, etc) intoByclass used by webdriver to locate elements.protected org.openqa.selenium.BybuildDefaultBy()protected org.openqa.selenium.BybuildMobileNativeBy()booleanisLookupCached()Defines 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
-
-
-
-
Method Detail
-
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
-
-