public class TextInputImpl extends ElementImpl implements TextInput
| Constructor and Description |
|---|
TextInputImpl(UniqueElementLocator elementLocator)
Creates a Element for a given WebElement.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
java.lang.String |
getText()
Gets the value of an input field.
|
void |
set(java.lang.String text) |
click, elementWired, findElement, findElements, getAttribute, getCoordinates, getCssValue, getLocation, getRect, getScreenshotAs, getSize, getTagName, getWrappedElement, isDisplayed, isEnabled, isSelected, sendKeys, submitclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitelementWiredpublic TextInputImpl(UniqueElementLocator elementLocator)
elementLocator - the locator of the webelement.public void clear()
clear in interface org.openqa.selenium.WebElementclear in class ElementImplpublic void set(java.lang.String text)
public java.lang.String getText()
getText in interface org.openqa.selenium.WebElementgetText in class ElementImplCopyright © 2017 PPI AG. All rights reserved.