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 void
assertValidAnnotations()
org.openqa.selenium.By
buildBy()
Defines how to transform given object (field, class, etc) intoBy
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.-
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:
assertValidAnnotations
in classAppiumByBuilder
-
buildDefaultBy
protected org.openqa.selenium.By buildDefaultBy()
- Specified by:
buildDefaultBy
in classAppiumByBuilder
-
buildMobileNativeBy
protected org.openqa.selenium.By buildMobileNativeBy()
- Specified by:
buildMobileNativeBy
in classAppiumByBuilder
-
isLookupCached
public boolean isLookupCached()
Description copied from class:AppiumByBuilder
Defines whether or not given element should be returned from cache on further calls.- Specified by:
isLookupCached
in classAppiumByBuilder
-
buildBy
public org.openqa.selenium.By buildBy()
Description copied from class:AppiumByBuilder
Defines how to transform given object (field, class, etc) intoBy
class used by webdriver to locate elements.- Specified by:
buildBy
in classAppiumByBuilder
-
-