Class DefaultSeleniumMultiSelect

    • Constructor Detail

      • DefaultSeleniumMultiSelect

        public DefaultSeleniumMultiSelect()
    • Method Detail

      • isDisplayed

        public boolean isDisplayed()
        Description copied from interface: Displayable
        Returns true, if the element is displayed. "Displayed" means it has to be part of the dom and it is not hidden using css.
        Specified by:
        isDisplayed in interface Displayable
        Returns:
        true, if the element is displayed.
      • isEnabled

        public boolean isEnabled()
        Description copied from interface: Enabable
        Returns true, if the element is enabled. "enabled" means it is not disabled and not readonly.
        Specified by:
        isEnabled in interface Enabable
        Returns:
        true, if the element is enabled.
      • getElementsInternal

        protected java.util.List<MultiSelectOption> getElementsInternal​(java.util.function.Predicate<? super MultiSelectOption> predicate,
                                                                        boolean returnOnFirstMatch)
      • findElementsByLabel

        public java.util.List<MultiSelectOption> findElementsByLabel​(java.lang.String aLabel)
        Description copied from interface: MultiSelect
        Returns all elements which have the given label.
        Specified by:
        findElementsByLabel in interface MultiSelect
        Parameters:
        aLabel - the label for finding the elements
        Returns:
        all elements which have the given label.
      • findFirstElementByLabel

        public MultiSelectOption findFirstElementByLabel​(java.lang.String aLabel)
        Description copied from interface: MultiSelect
        Returns the first element which has the given label
        Specified by:
        findFirstElementByLabel in interface MultiSelect
        Parameters:
        aLabel - the label for selecting the element
        Returns:
        all elements which have the given label, cannot be null