Class SuggestInputElement.SuggestionElement

    • Constructor Detail

      • SuggestionElement

        public SuggestionElement​(org.openqa.selenium.WebElement suggestion)
    • Method Detail

      • getValue

        public String getValue()
        Returns:
        the value of this suggestion
      • getLabel

        public String getLabel()
        Returns:
        the label of this suggestion
      • getIcon

        public String getIcon()
        Returns:
        the icon class or src attribute of this suggestion
      • getURL

        public String getURL()
        Returns:
        the url of this suggestion
      • getHint

        public String getHint()
        Returns:
        the hint of this suggestion
      • hasHint

        public boolean hasHint()
        Returns:
        true if the hint is present, false otherwise
      • getTooltip

        public String getTooltip()
        Returns:
        the text displayed on hover
      • delete

        public void delete()
        Deletes this suggestion from the list of selected suggestions.
      • select

        public void select()
        Selects this suggestion.