public class WebElementWrapper
extends java.lang.Object
| Constructor and Description |
|---|
WebElementWrapper(org.openqa.selenium.WebElement webElement) |
| Modifier and Type | Method and Description |
|---|---|
WebElementWrapper |
clear() |
WebElementWrapper |
click() |
WebElementWrapper |
findElement(org.openqa.selenium.By by) |
java.util.List<WebElementWrapper> |
findElements(org.openqa.selenium.By by) |
java.lang.String |
getAttribute(java.lang.String name) |
java.lang.String |
getCssValue(java.lang.String propertyName) |
org.openqa.selenium.Point |
getLocation() |
org.openqa.selenium.Dimension |
getSize() |
java.lang.String |
getTagName() |
java.lang.String |
getText() |
org.openqa.selenium.WebElement |
getWebElement() |
boolean |
isDisplayed() |
boolean |
isEnabled() |
boolean |
isSelected() |
WebElementWrapper |
sendKeys(java.lang.CharSequence... keysToSend) |
WebElementWrapper |
submit() |
static java.util.List<WebElementWrapper> |
toList(java.util.Collection<org.openqa.selenium.WebElement> elements) |
public WebElementWrapper(org.openqa.selenium.WebElement webElement)
public org.openqa.selenium.WebElement getWebElement()
public WebElementWrapper click()
public WebElementWrapper submit()
public WebElementWrapper sendKeys(java.lang.CharSequence... keysToSend)
public WebElementWrapper clear()
public java.lang.String getTagName()
public java.lang.String getAttribute(java.lang.String name)
public boolean isSelected()
public boolean isEnabled()
public java.lang.String getText()
public java.util.List<WebElementWrapper> findElements(org.openqa.selenium.By by)
public WebElementWrapper findElement(org.openqa.selenium.By by)
public boolean isDisplayed()
public org.openqa.selenium.Point getLocation()
public org.openqa.selenium.Dimension getSize()
public java.lang.String getCssValue(java.lang.String propertyName)
public static java.util.List<WebElementWrapper> toList(java.util.Collection<org.openqa.selenium.WebElement> elements)