Annotation Type HowToUseLocators


  • @Retention(RUNTIME)
    @Target({FIELD,TYPE})
    public @interface HowToUseLocators
    • Element Detail

      • androidAutomation

        LocatorGroupStrategy androidAutomation
        The strategy which defines how to use locators which are described by the AndroidFindBy 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 the WindowsFindBy 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 the iOSXCUITFindBy 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