public class ButtonImpl extends ElementImpl implements Button
| Constructor and Description |
|---|
ButtonImpl(UniqueElementLocator elementLocator)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
click()
Click the button and wait till this button is removed from current DOM.
|
java.lang.String |
getLabel()
Return the label of the button.
|
clear, elementWired, findElement, findElements, getAttribute, getCoordinates, getCssValue, getLocation, getRect, getScreenshotAs, getSize, getTagName, getText, getWrappedElement, isDisplayed, isEnabled, isSelected, sendKeys, submitclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitelementWiredpublic ButtonImpl(UniqueElementLocator elementLocator)
elementLocator - locator to get the underlying webelement.public void click()
Buttonclick in interface org.openqa.selenium.WebElementclick in interface Buttonclick in class ElementImplCopyright © 2017 PPI AG. All rights reserved.