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

ru.yandex.qatools.htmlelements.element.Button Maven / Gradle / Ivy

There is a newer version: 1.20.0
Show newest version
package ru.yandex.qatools.htmlelements.element;

import org.openqa.selenium.WebElement;

/**
 * Represents web page button control.
 *
 * @author Alexander Tolmachev [email protected]
 *         Date: 14.08.12
 */
public class Button extends TypifiedElement {
    /**
     * Specifies wrapped {@link WebElement}.
     *
     * @param wrappedElement {@code WebElement} to wrap.
     */
    public Button(WebElement wrappedElement) {
        super(wrappedElement);
    }

    /**
     * Clicks the button.
     */
    public void click() {
        getWrappedElement().click();
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy