All Downloads are FREE. Search and download functionalities are using the official Maven repository.

aquality.selenium.elements.interfaces.IMultiChoiceBox Maven / Gradle / Ivy

There is a newer version: 4.9.0
Show newest version
package aquality.selenium.elements.interfaces;

import java.util.List;

public interface IMultiChoiceBox extends IComboBox {

    /**
     * Gets value of all selected options
     *
     * @return selected values
     */
    List getSelectedValues();

    /**
     * Gets text of all selected options
     *
     * @return selected text
     */
    List getSelectedTexts();

    /**
     * Select all options
     */
    void selectAll();

    /**
     * Deselect all selected options
     */
    void deselectAll();

    /**
     * Deselect selected option by index
     *
     * @param index number of selected option
     */
    void deselectByIndex(int index);

    /**
     * Deselect selected option by value
     *
     * @param value argument value
     */
    void deselectByValue(String value);

    /**
     * Deselect selected option by containing value
     *
     * @param value partial option's value
     */
    void deselectByContainingValue(String value);

    /**
     * Deselect selected option by visible text
     *
     * @param text text to be deselected
     */
    void deselectByText(String text);

    /**
     * Deselect selected option by containing visible text
     *
     * @param text visible text
     */
    void deselectByContainingText(String text);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy