public class SeleniumWTextAreaWebElement extends SeleniumWComponentWebElement
| Modifier and Type | Field and Description |
|---|---|
static String |
EDITABLE_TAG
The tag name of the editable WTextArea element.
|
static String |
READ_ONLY_TAG
The tag name for a read-only WTextArea element.
|
| 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 |
|---|---|
String |
getAttribute(String name)
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".
|
boolean |
isEnabled() |
boolean |
isReadOnly() |
clear, click, clickNoWait, findElement, findElements, findSeleniumWSelectWebElement, getCssValue, getDriver, getLocation, getRect, getScreenshotAs, getSize, getTagName, getText, isDisplayed, isSelected, sendKeys, submitpublic static final String EDITABLE_TAG
public static final String READ_ONLY_TAG
public SeleniumWTextAreaWebElement(org.openqa.selenium.WebElement element,
org.openqa.selenium.WebDriver driver)
element - the dialog element.driver - the SeleniumWComponentsWebDriverpublic String getAttribute(String name)
getAttribute in interface org.openqa.selenium.WebElementgetAttribute in class SeleniumWComponentWebElementname - the attribute to findpublic boolean isEnabled()
SeleniumWComponentWebElementisEnabled in interface org.openqa.selenium.WebElementisEnabled in class SeleniumWComponentWebElementpublic boolean isReadOnly()
Copyright © 2016. All rights reserved.