public class SeleniumWTextAreaWebElement extends SeleniumWComponentInputWebElement
| Modifier and Type | Field and Description |
|---|---|
static String |
READ_ONLY_TAG
Read-only element wrapper tag.
|
static String |
RTF_READ_ONLY_TAG
RTF read-only element wrapper tag.
|
static String |
TEXTAREA_TAG
Editable element tag.
|
EDITABLE_TAG, TOP_LEVEL_TAG| Constructor and Description |
|---|
SeleniumWTextAreaWebElement(org.openqa.selenium.WebElement element,
org.openqa.selenium.WebDriver driver)
Construct a WTextAreaWebElement for the given WebElement.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clearContent()
Clear the content of a WTextArea.
|
String |
getAttribute(String name)
Some attributes are applied to the wrapper, some to the input.
|
SeleniumWComponentWebElement |
getInputField() |
int |
getMaxLength() |
String |
getValue()
WTextArea's line breaks will be in Java format "\n whereas HTML textarea's value has line breaks in the HTML
specified format "\r\n".
|
clear, click, clickNoWait, getActiveId, getSuggestionList, isCombo, isEnabled, isMandatory, isReadOnly, sendKeys, sendKeysclickElementNoWait, findElement, findElementImmediate, findElements, findElementsImmediate, getCssValue, getDriver, getElement, getLocation, getRect, getScreenshotAs, getSize, getTagName, getText, getUserContextForSession, isDisplayed, isHidden, isSelected, submit, waitForPageReady, wrapElementpublic static final String READ_ONLY_TAG
public static final String RTF_READ_ONLY_TAG
public static final String TEXTAREA_TAG
public SeleniumWTextAreaWebElement(org.openqa.selenium.WebElement element,
org.openqa.selenium.WebDriver driver)
element - the dialog element.driver - the SeleniumWComponentsWebDriverpublic String getValue()
getValue in class SeleniumWComponentInputWebElementpublic String getAttribute(String name)
getAttribute in interface org.openqa.selenium.WebElementgetAttribute in class SeleniumWComponentInputWebElementname - the name of the attribute to findpublic int getMaxLength()
public SeleniumWComponentWebElement getInputField()
getInputField in class SeleniumWComponentInputWebElementpublic void clearContent()
Copyright © 2024. All rights reserved.