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

io.magentys.cinnamon.webdriver.actions.SelectAction Maven / Gradle / Ivy

There is a newer version: 0.2.0
Show newest version
package io.magentys.cinnamon.webdriver.actions;

public interface SelectAction {

    /**
     * Selects the option with the given index
     *
     * @param index The index to select
     */
    void byIndex(int index);

    /**
     * Selects the option by the "value" attribute
     *
     * @param value The value to select
     */
    void byValue(String value);

    /**
     * Selects the option where the visible text matches the given text completely
     *
     * @param text The text to match
     */
    void byVisibleText(String text);

    /**
     * An action that selects the option where the visible text contains the given text completely, as defined by
     * {@link String#contains(CharSequence)}
     *
     * @param text The text to match
     */
    void byVisibleTextContains(String text);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy