public class TextFieldElement extends HtmlElement
driver, element, logger, webUXDriver
Constructor and Description |
---|
TextFieldElement(String label,
org.openqa.selenium.By by) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
void |
clearAndType(String keysToSend) |
void |
sendKeys(CharSequence... keysToSend)
Sends the indicated CharSequence to the WebElement.
|
void |
type(CharSequence... keysToSend) |
captureSnapshot, captureSnapshot, click, clickAt, clickAt, findElement, getAllElements, getAttribute, getBy, getCssValue, getDriver, getElement, getEval, getHeight, getLabel, getLocation, getLocator, getSize, getTagName, getText, getValue, getWidth, init, isDisplayed, isElementPresent, isEnabled, isSelected, isTextPresent, mouseDown, mouseOver, mouseUp, simulateClick, simulateMouseOver, simulateMoveToElement, sleep, toHTML, toString, waitForPresent, waitForPresent
public TextFieldElement(String label, org.openqa.selenium.By by)
public void clear()
public void sendKeys(CharSequence... keysToSend)
HtmlElement
sendKeys
in class HtmlElement
public void type(CharSequence... keysToSend)
public void clearAndType(String keysToSend)
Copyright © 2018. All rights reserved.