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

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

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

public interface ITextBox extends IElement {
    /**
     * Enter the text in the box
     *
     * @param value text
     */
    void type(String value);

    /**
     * Enter the text in the box, inputted value isn't logging
     *
     * @param value text
     */
    void typeSecret(String value);

    /**
     * Clears element text.
     */
    void clear();

    /**
     * Clears input and enters text in the box, inputted value isn't logging
     *
     * @param value text
     */
    void clearAndType(String value);

    /**
     * Clears input and enters text in the box
     *
     * @param value text
     */
    void clearAndTypeSecret(String value);

    /**
     * Submits the field
     */
    void submit();

    /**
     * Gets value of field
     *
     * @return value
     */
    String getValue();

    /**
     * Focuses on the element using send keys
     */
    @Override
    void focus();

    /**
     * Removes focus from the element using send keys
     */
    void unfocus();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy