Annotation Type HowToUseLocators
-
@Retention(RUNTIME) @Target({FIELD,TYPE}) public @interface HowToUseLocators
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description LocatorGroupStrategy
androidAutomation
The strategy which defines how to use locators which are described by theAndroidFindBy
annotation.LocatorGroupStrategy
iOSXCUITAutomation
The strategy which defines how to use locators which are described by theiOSXCUITFindBy
annotation.LocatorGroupStrategy
windowsAutomation
The strategy which defines how to use locators which are described by theWindowsFindBy
annotation.
-
-
-
Element Detail
-
androidAutomation
LocatorGroupStrategy androidAutomation
The strategy which defines how to use locators which are described by theAndroidFindBy
annotation. These annotations can define the chained searching or the searching by all possible locators.- Returns:
- the strategy which defines how to use locators which are described by the
AndroidFindBy
annotation
- Default:
- io.appium.java_client.pagefactory.LocatorGroupStrategy.CHAIN
-
-
-
windowsAutomation
LocatorGroupStrategy windowsAutomation
The strategy which defines how to use locators which are described by theWindowsFindBy
annotation. These annotations can define the chained searching or the searching by all possible locators.- Returns:
- the strategy which defines how to use locators which are described by the
WindowsFindBy
annotation
- Default:
- io.appium.java_client.pagefactory.LocatorGroupStrategy.CHAIN
-
-
-
iOSXCUITAutomation
LocatorGroupStrategy iOSXCUITAutomation
The strategy which defines how to use locators which are described by theiOSXCUITFindBy
annotation. These annotations can define the chained searching or the searching by all possible locators.- Returns:
- the strategy which defines how to use locators which are described by the
iOSXCUITFindBy
annotation
- Default:
- io.appium.java_client.pagefactory.LocatorGroupStrategy.CHAIN
-
-