Annotation Type AndroidFindBy
-
@Retention(RUNTIME) @Target({FIELD,TYPE}) @Repeatable(AndroidFindBySet.class) public @interface AndroidFindBy
Used to mark a field on a Page Object to indicate an alternative mechanism for locating the element or a list of elements. Used in conjunction withPageFactory
this allows users to quickly and easily create PageObjects. using Android UI selectors, accessibility, id, name, class name, tag and xpath
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.String
accessibility
It an UI automation accessibility Id which is a convenient to Android.java.lang.String
androidDataMatcher
It is a desired data matcher expression.java.lang.String
androidViewMatcher
It is a desired view matcher expression.java.lang.String
className
It is a className of the target element.java.lang.String
id
It is an id of the target element.int
priority
Priority of the searching.java.lang.String
tagName
It is a desired element tag.java.lang.String
uiAutomator
A String that can build an Android UiSelector or UiScrollable object.java.lang.String
xpath
It is a xpath to the target element.
-