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

org.testmonkeys.maui.pageobjects.elements.Select Maven / Gradle / Ivy

package org.testmonkeys.maui.pageobjects.elements;

import org.testmonkeys.maui.core.elements.actions.select.SelectByIndexAction;
import org.testmonkeys.maui.core.elements.actions.select.SelectByValueAction;
import org.testmonkeys.maui.core.elements.actions.select.SelectByVisibleTextAction;

/**
 * Created by cpascal on 3/31/2017.
 */
public class Select extends AbstractComponent {

    public void selectByValue(String value) {
        new SelectByValueAction(this, value).execute();
    }

    public void selectByText(String value) {
        new SelectByVisibleTextAction(this, value).execute();
    }

    public void selectByIndext(int index) {
        new SelectByIndexAction(this, index).execute();
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy