public interface WebElementFacade extends org.openqa.selenium.WebElement, org.openqa.selenium.internal.WrapsElement, org.openqa.selenium.internal.Locatable, WebElementState
| Modifier and Type | Method and Description |
|---|---|
WebElementFacade |
and()
Convenience method to chain method calls more fluently.
|
void |
clear() |
void |
click()
Wait for an element to be visible and enabled, and then click on it.
|
WebElementFacade |
find(org.openqa.selenium.By bySelector) |
WebElementFacade |
findBy(org.openqa.selenium.By selector) |
WebElementFacade |
findBy(java.lang.String xpathOrCssSelector) |
java.lang.String |
getAttribute(java.lang.String name) |
java.util.List<java.lang.String> |
getSelectOptions() |
java.lang.String |
getText() |
long |
getTimeoutInMilliseconds() |
java.lang.String |
getValue() |
WebElementFacade |
selectByIndex(int indexValue) |
WebElementFacade |
selectByValue(java.lang.String value) |
WebElementFacade |
selectByVisibleText(java.lang.String label) |
void |
setWindowFocus() |
WebElementFacade |
then()
Convenience method to chain method calls more fluently.
|
WebElementFacade |
then(org.openqa.selenium.By bySelector) |
WebElementFacade |
then(java.lang.String xpathOrCssSelector) |
java.util.List<WebElementFacade> |
thenFindAll(org.openqa.selenium.By selector) |
java.util.List<WebElementFacade> |
thenFindAll(java.lang.String xpathOrCssSelector) |
java.lang.String |
toString() |
WebElementFacade |
type(java.lang.String value)
Type a value into a field, making sure that the field is empty first.
|
WebElementFacade |
typeAndEnter(java.lang.String value)
Type a value into a field and then press Enter, making sure that the field is empty first.
|
WebElementFacade |
typeAndTab(java.lang.String value)
Type a value into a field and then press TAB, making sure that the field is empty first.
|
org.openqa.selenium.support.ui.Wait<org.openqa.selenium.WebDriver> |
waitForCondition() |
WebElementFacade |
waitUntilDisabled() |
WebElementFacade |
waitUntilEnabled() |
WebElementFacade |
waitUntilNotVisible() |
WebElementFacade |
waitUntilPresent() |
WebElementFacade |
waitUntilVisible() |
WebElementFacade |
withTimeoutOf(int timeout,
java.util.concurrent.TimeUnit unit) |
findElement, findElements, getCssValue, getLocation, getSize, getTagName, isDisplayed, isEnabled, isSelected, sendKeys, submitcontainsOnlyText, containsSelectOption, containsText, expect, getSelectedValue, getSelectedVisibleTextValue, getTextValue, hasFocus, isCurrentlyEnabled, isCurrentlyVisible, isEnabled, isPresent, isSelected, isVisible, shouldBeCurrentlyVisible, shouldBeEnabled, shouldBePresent, shouldBeVisible, shouldContainOnlyText, shouldContainSelectedOption, shouldContainText, shouldNotBeCurrentlyVisible, shouldNotBeEnabled, shouldNotBePresent, shouldNotBeVisible, shouldNotContainTextWebElementFacade then(java.lang.String xpathOrCssSelector)
WebElementFacade findBy(java.lang.String xpathOrCssSelector)
java.util.List<WebElementFacade> thenFindAll(java.lang.String xpathOrCssSelector)
WebElementFacade findBy(org.openqa.selenium.By selector)
WebElementFacade find(org.openqa.selenium.By bySelector)
WebElementFacade then(org.openqa.selenium.By bySelector)
java.lang.String getAttribute(java.lang.String name)
getAttribute in interface org.openqa.selenium.WebElementjava.util.List<WebElementFacade> thenFindAll(org.openqa.selenium.By selector)
long getTimeoutInMilliseconds()
WebElementFacade withTimeoutOf(int timeout, java.util.concurrent.TimeUnit unit)
WebElementFacade and()
WebElementFacade then()
java.util.List<java.lang.String> getSelectOptions()
WebElementFacade type(java.lang.String value)
value - WebElementFacade typeAndEnter(java.lang.String value)
value - WebElementFacade typeAndTab(java.lang.String value)
value - void setWindowFocus()
WebElementFacade selectByVisibleText(java.lang.String label)
WebElementFacade selectByValue(java.lang.String value)
WebElementFacade selectByIndex(int indexValue)
WebElementFacade waitUntilVisible()
WebElementFacade waitUntilPresent()
org.openqa.selenium.support.ui.Wait<org.openqa.selenium.WebDriver> waitForCondition()
WebElementFacade waitUntilNotVisible()
java.lang.String getValue()
java.lang.String getText()
getText in interface org.openqa.selenium.WebElementWebElementFacade waitUntilEnabled()
WebElementFacade waitUntilDisabled()
void click()
click in interface org.openqa.selenium.WebElementvoid clear()
clear in interface org.openqa.selenium.WebElementjava.lang.String toString()
toString in class java.lang.Object