Annotation Interface iOSXCUITFindBy
@Retention(RUNTIME)
@Target({FIELD,TYPE})
@Repeatable(iOSXCUITFindBySet.class)
public @interface iOSXCUITFindBy
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionIt an UI automation accessibility Id which is a convenient to iOS.It is a name of a type/class of the target element.It is an id of the target element.The Class Chain locator is similar to xpath, but it's faster and can only search direct children elements.The NSPredicate class is used to define logical conditions used to constrain a search either for a fetch or for in-memory filtering.intPriority of the searching.It is a desired element tag.It is a xpath to the target element.
-
Element Details
-
iOSClassChain
String iOSClassChainThe Class Chain locator is similar to xpath, but it's faster and can only search direct children elements. See the documentation for more details.- Returns:
- iOS class chain
- Default:
- ""
-
iOSNsPredicate
String iOSNsPredicateThe NSPredicate class is used to define logical conditions used to constrain a search either for a fetch or for in-memory filtering.- Returns:
- iOS NSPredicate
- Default:
- ""
-
accessibility
String accessibilityIt an UI automation accessibility Id which is a convenient to iOS. About iOS accessibility See UIAccessibilityIdentification- Returns:
- an UI automation accessibility Id
- Default:
- ""
-
id
String idIt is an id of the target element.- Returns:
- an id of the target element
- Default:
- ""
-
className
String classNameIt is a name of a type/class of the target element.- Returns:
- a name of a type/class of the target element
- Default:
- ""
-
tagName
String tagNameIt is a desired element tag.- Returns:
- a desired element tag
- Default:
- ""
-
xpath
String xpathIt is a xpath to the target element.- Returns:
- a xpath to the target element
- Default:
- ""
-
priority
int priorityPriority of the searching. Higher number means lower priority.- Returns:
- priority of the searching
- Default:
- 0
-