ru.yandex.qatools.htmlelements.element.Button Maven / Gradle / Ivy
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