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(String xpathOrCssSelector) |
String |
getAttribute(String name) |
List<String> |
getSelectOptions() |
String |
getText() |
long |
getTimeoutInMilliseconds() |
String |
getValue() |
WebElementFacade |
selectByIndex(int indexValue) |
WebElementFacade |
selectByValue(String value) |
WebElementFacade |
selectByVisibleText(String label) |
void |
setWindowFocus() |
WebElementFacade |
then()
Convenience method to chain method calls more fluently.
|
WebElementFacade |
then(org.openqa.selenium.By bySelector) |
WebElementFacade |
then(String xpathOrCssSelector) |
List<WebElementFacade> |
thenFindAll(org.openqa.selenium.By selector) |
List<WebElementFacade> |
thenFindAll(String xpathOrCssSelector) |
String |
toString() |
WebElementFacade |
type(String value)
Type a value into a field, making sure that the field is empty first.
|
WebElementFacade |
typeAndEnter(String value)
Type a value into a field and then press Enter, making sure that the field is empty first.
|
WebElementFacade |
typeAndTab(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,
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(String xpathOrCssSelector)
WebElementFacade findBy(String xpathOrCssSelector)
List<WebElementFacade> thenFindAll(String xpathOrCssSelector)
WebElementFacade findBy(org.openqa.selenium.By selector)
WebElementFacade find(org.openqa.selenium.By bySelector)
WebElementFacade then(org.openqa.selenium.By bySelector)
String getAttribute(String name)
getAttribute in interface org.openqa.selenium.WebElementList<WebElementFacade> thenFindAll(org.openqa.selenium.By selector)
long getTimeoutInMilliseconds()
WebElementFacade withTimeoutOf(int timeout, TimeUnit unit)
WebElementFacade and()
WebElementFacade then()
WebElementFacade type(String value)
value - WebElementFacade typeAndEnter(String value)
value - WebElementFacade typeAndTab(String value)
value - void setWindowFocus()
WebElementFacade selectByVisibleText(String label)
WebElementFacade selectByValue(String value)
WebElementFacade selectByIndex(int indexValue)
WebElementFacade waitUntilVisible()
WebElementFacade waitUntilPresent()
org.openqa.selenium.support.ui.Wait<org.openqa.selenium.WebDriver> waitForCondition()
WebElementFacade waitUntilNotVisible()
String getValue()
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.WebElementCopyright © 2011–2014 Wakaleo Consulting. All rights reserved.