public static class Internal.FoundOrNotFound
extends java.lang.Object
implements org.openqa.selenium.WebElement
| Constructor and Description |
|---|
FoundOrNotFound(boolean found) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
void |
click() |
org.openqa.selenium.WebElement |
findElement(org.openqa.selenium.By by) |
java.util.List<org.openqa.selenium.WebElement> |
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.Rectangle |
getRect() |
<X> X |
getScreenshotAs(org.openqa.selenium.OutputType<X> outputType) |
org.openqa.selenium.Dimension |
getSize() |
java.lang.String |
getTagName() |
java.lang.String |
getText() |
boolean |
isDisplayed() |
boolean |
isEnabled() |
boolean |
isFound() |
boolean |
isSelected() |
void |
sendKeys(java.lang.CharSequence... keysToSend) |
void |
submit() |
public boolean isFound()
public void click()
click in interface org.openqa.selenium.WebElementpublic void submit()
submit in interface org.openqa.selenium.WebElementpublic void sendKeys(java.lang.CharSequence... keysToSend)
sendKeys in interface org.openqa.selenium.WebElementpublic void clear()
clear in interface org.openqa.selenium.WebElementpublic java.lang.String getTagName()
getTagName in interface org.openqa.selenium.WebElementpublic java.lang.String getAttribute(java.lang.String name)
getAttribute in interface org.openqa.selenium.WebElementpublic boolean isSelected()
isSelected in interface org.openqa.selenium.WebElementpublic boolean isEnabled()
isEnabled in interface org.openqa.selenium.WebElementpublic java.lang.String getText()
getText in interface org.openqa.selenium.WebElementpublic java.util.List<org.openqa.selenium.WebElement> findElements(org.openqa.selenium.By by)
findElements in interface org.openqa.selenium.SearchContextfindElements in interface org.openqa.selenium.WebElementpublic org.openqa.selenium.WebElement findElement(org.openqa.selenium.By by)
findElement in interface org.openqa.selenium.SearchContextfindElement in interface org.openqa.selenium.WebElementpublic boolean isDisplayed()
isDisplayed in interface org.openqa.selenium.WebElementpublic org.openqa.selenium.Point getLocation()
getLocation in interface org.openqa.selenium.WebElementpublic org.openqa.selenium.Dimension getSize()
getSize in interface org.openqa.selenium.WebElementpublic java.lang.String getCssValue(java.lang.String propertyName)
getCssValue in interface org.openqa.selenium.WebElementpublic <X> X getScreenshotAs(org.openqa.selenium.OutputType<X> outputType)
throws org.openqa.selenium.WebDriverException
getScreenshotAs in interface org.openqa.selenium.TakesScreenshotorg.openqa.selenium.WebDriverExceptionpublic org.openqa.selenium.Rectangle getRect()
getRect in interface org.openqa.selenium.WebElementCopyright © 2017. All Rights Reserved.