Class MuiAutocompleteTagLocators


  • public class MuiAutocompleteTagLocators
    extends Object
    The locators for MuiAutocompleteTag
    Since:
    1.3
    Author:
    Jack Yin
    • Constructor Detail

      • MuiAutocompleteTagLocators

        public MuiAutocompleteTagLocators​(java.util.function.Function<MuiAutocompleteTag,​String> labelFinder,
                                          java.util.function.Function<MuiAutocompleteTag,​String> valueFinder,
                                          org.openqa.selenium.By deleteButtonLocator)
        Constructs the instance with label, value and deleteButton locators.
        Parameters:
        labelFinder - the label finder for locating the label element and find the label value
        valueFinder - the value finder for locating the value element and find the value
        deleteButtonLocator - the delete button locator
    • Method Detail

      • getLabelFinder

        public java.util.function.Function<MuiAutocompleteTag,​String> getLabelFinder()
        Gets the label finder for locating the label element and find the label value
        Returns:
        the label finder function
      • getValueFinder

        public java.util.function.Function<MuiAutocompleteTag,​String> getValueFinder()
        Gets the value finder for locating the value element and find the value
        Returns:
        the value finder function
      • getDeleteButtonLocator

        public org.openqa.selenium.By getDeleteButtonLocator()
        Gets the delete button locator
        Returns:
        the delete button locator