public class Element extends Object implements org.openqa.selenium.WebElement
| Constructor and Description |
|---|
Element() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
void |
click() |
org.openqa.selenium.WebElement |
findElement(org.openqa.selenium.By arg0) |
List<org.openqa.selenium.WebElement> |
findElements(org.openqa.selenium.By arg0) |
String |
getAttribute(String arg0) |
String |
getCssValue(String arg0) |
org.openqa.selenium.Point |
getLocation() |
org.openqa.selenium.Rectangle |
getRect() |
<X> X |
getScreenshotAs(org.openqa.selenium.OutputType<X> arg0) |
org.openqa.selenium.Dimension |
getSize() |
String |
getTagName() |
String |
getText() |
boolean |
isDisplayed() |
boolean |
isEnabled() |
boolean |
isSelected() |
void |
sendKeys(CharSequence... arg0) |
void |
submit() |
public <X> X getScreenshotAs(org.openqa.selenium.OutputType<X> arg0)
throws org.openqa.selenium.WebDriverException
getScreenshotAs in interface org.openqa.selenium.TakesScreenshotorg.openqa.selenium.WebDriverExceptionpublic void clear()
clear in interface org.openqa.selenium.WebElementpublic void click()
click in interface org.openqa.selenium.WebElementpublic org.openqa.selenium.WebElement findElement(org.openqa.selenium.By arg0)
findElement in interface org.openqa.selenium.SearchContextfindElement in interface org.openqa.selenium.WebElementpublic List<org.openqa.selenium.WebElement> findElements(org.openqa.selenium.By arg0)
findElements in interface org.openqa.selenium.SearchContextfindElements in interface org.openqa.selenium.WebElementpublic String getAttribute(String arg0)
getAttribute in interface org.openqa.selenium.WebElementpublic String getCssValue(String arg0)
getCssValue in interface org.openqa.selenium.WebElementpublic org.openqa.selenium.Point getLocation()
getLocation in interface org.openqa.selenium.WebElementpublic org.openqa.selenium.Rectangle getRect()
getRect in interface org.openqa.selenium.WebElementpublic org.openqa.selenium.Dimension getSize()
getSize in interface org.openqa.selenium.WebElementpublic String getTagName()
getTagName in interface org.openqa.selenium.WebElementpublic String getText()
getText in interface org.openqa.selenium.WebElementpublic boolean isDisplayed()
isDisplayed in interface org.openqa.selenium.WebElementpublic boolean isEnabled()
isEnabled in interface org.openqa.selenium.WebElementpublic boolean isSelected()
isSelected in interface org.openqa.selenium.WebElementpublic void sendKeys(CharSequence... arg0)
sendKeys in interface org.openqa.selenium.WebElementpublic void submit()
submit in interface org.openqa.selenium.WebElementCopyright © 2019. All rights reserved.