public class WebElementFacadeImpl extends Object implements WebElementFacade, WebElementFacade
| Constructor and Description |
|---|
WebElementFacadeImpl(org.openqa.selenium.WebDriver driver,
org.openqa.selenium.support.pagefactory.ElementLocator locator,
long implicitTimeoutInMilliseconds) |
WebElementFacadeImpl(org.openqa.selenium.WebDriver driver,
org.openqa.selenium.support.pagefactory.ElementLocator locator,
long implicitTimeoutInMilliseconds,
long waitForTimeoutInMilliseconds) |
WebElementFacadeImpl(org.openqa.selenium.WebDriver driver,
org.openqa.selenium.support.pagefactory.ElementLocator locator,
org.openqa.selenium.WebElement webElement,
long implicitTimeoutInMilliseconds) |
WebElementFacadeImpl(org.openqa.selenium.WebDriver driver,
org.openqa.selenium.support.pagefactory.ElementLocator locator,
org.openqa.selenium.WebElement webElement,
long implicitTimeoutInMilliseconds,
long waitForTimeoutInMilliseconds) |
WebElementFacadeImpl(org.openqa.selenium.WebDriver driver,
org.openqa.selenium.support.pagefactory.ElementLocator locator,
org.openqa.selenium.WebElement webElement,
long implicitTimeoutInMilliseconds,
long waitForTimeoutInMilliseconds,
org.openqa.selenium.By bySelector) |
WebElementFacadeImpl(org.openqa.selenium.WebDriver driver,
org.openqa.selenium.support.pagefactory.ElementLocator locator,
org.openqa.selenium.WebElement webElement,
org.openqa.selenium.WebElement resolvedELement,
org.openqa.selenium.By bySelector,
long timeoutInMilliseconds,
long waitForTimeoutInMilliseconds) |
WebElementFacadeImpl(org.openqa.selenium.WebDriver driver,
org.openqa.selenium.WebElement webElement,
long implicitTimeoutInMilliseconds,
long waitForTimeoutInMilliseconds,
org.openqa.selenium.By bySelector) |
| 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.
|
void |
click(ClickStrategy clickStrategy)
Click on an element, with or without waiting for it to be visible and enabled
|
boolean |
containsElements(org.openqa.selenium.By bySelector) |
boolean |
containsElements(String xpathOrCssSelector) |
boolean |
containsOnlyText(String value)
Does this element exactly match given text?
|
boolean |
containsSelectOption(String value)
Does this dropdown contain the specified value.
|
boolean |
containsText(String value)
Does this element contain a given text?
|
boolean |
containsValue(String value)
Does this element contain a given value attribute?
|
void |
contextClick() |
FluentDropdownDeselect |
deselect() |
WebElementFacade |
deselectAll() |
WebElementFacade |
deselectByIndex(int indexValue) |
WebElementFacade |
deselectByValue(String value) |
WebElementFacade |
deselectByVisibleText(String label) |
void |
doubleClick() |
protected boolean |
driverIsDisabled() |
WebElementState |
expect(String errorMessage) |
protected WebElementState |
expectingErrorMessage(String errorMessage) |
WebElementFacade |
find(org.openqa.selenium.By bySelector) |
WebElementFacade |
findBy(org.openqa.selenium.By selector) |
<T extends WebElementFacade> |
findBy(String xpathOrCssSelector) |
<T extends WebElementFacade> |
findBy(String xpathOrCssSelector,
Object... arguments) |
org.openqa.selenium.WebElement |
findElement(org.openqa.selenium.By by) |
List<org.openqa.selenium.WebElement> |
findElements(org.openqa.selenium.By by) |
ListOfWebElementFacades |
findNestedElementsMatching(ResolvableElement nestedElement) |
WebElementFacade |
foundBy(String foundBy) |
static ListOfWebElementFacades |
fromWebElements(List<org.openqa.selenium.WebElement> elements) |
String |
getAccessibleName() |
String |
getAriaRole() |
String |
getAttribute(String name) |
protected InternalSystemClock |
getClock() |
org.openqa.selenium.interactions.Coordinates |
getCoordinates() |
String |
getCssValue(String propertyName) |
Duration |
getCurrentImplicitTimeout() |
String |
getDomAttribute(String name) |
String |
getDomProperty(String name) |
org.openqa.selenium.WebElement |
getElement() |
protected String |
getErrorMessage(String defaultErrorMessage) |
String |
getFirstSelectedOptionValue() |
String |
getFirstSelectedOptionVisibleText() |
String |
getFoundBy() |
Duration |
getImplicitTimeout() |
long |
getImplicitTimeoutInMilliseconds() |
protected JavascriptExecutorFacade |
getJavascriptExecutorFacade() |
org.openqa.selenium.Point |
getLocation() |
org.openqa.selenium.support.pagefactory.ElementLocator |
getLocator() |
org.openqa.selenium.Rectangle |
getRect() |
<X> X |
getScreenshotAs(org.openqa.selenium.OutputType<X> target) |
String |
getSelectedValue() |
List<String> |
getSelectedValues() |
List<String> |
getSelectedVisibleTexts() |
String |
getSelectedVisibleTextValue() |
List<String> |
getSelectOptions() |
org.openqa.selenium.SearchContext |
getShadowRoot() |
org.openqa.selenium.Dimension |
getSize() |
String |
getTagName() |
String |
getText() |
String |
getTextContent() |
String |
getTextValue() |
String |
getValue() |
org.openqa.selenium.WebElement |
getWrappedElement() |
boolean |
hasClass(String cssClassName) |
boolean |
hasFocus()
Does this element currently have the focus.
|
boolean |
isClickable()
Check to see if the element is clickable
|
boolean |
isCurrentlyEnabled() |
boolean |
isCurrentlyVisible()
Is this web element present and visible on the screen
This method will not throw an exception if the element is not on the screen at all.
|
boolean |
isDisabled() |
boolean |
isDisplayed()
Is this element displayed or not? This method avoids the problem of having to parse an
element's "style" attribute.
|
boolean |
isEnabled() |
boolean |
isPresent()
Returns true if an element is present on the screen, whether visible or not.
|
boolean |
isSelected() |
boolean |
isVisible()
Is this web element present and visible on the screen
This method will not throw an exception if the element is not on the screen at all.
|
protected void |
notifyScreenChange() |
Duration |
resetTimeouts() |
FluentDropdownSelect |
select() |
WebElementFacade |
selectByIndex(int indexValue)
Deprecated.
|
WebElementFacade |
selectByValue(String value)
Deprecated.
|
WebElementFacade |
selectByVisibleText(String label) |
void |
sendKeys(CharSequence... keysToSend) |
void |
setImplicitTimeout(Duration implicitTimeout) |
void |
setWindowFocus() |
WebElementState |
shouldBeCurrentlyVisible()
Checks whether a web element is visible.
|
WebElementState |
shouldBeEnabled() |
WebElementState |
shouldBePresent() |
WebElementState |
shouldBeSelected() |
WebElementState |
shouldBeVisible()
Checks whether a web element is visible.
|
WebElementState |
shouldContainElements(org.openqa.selenium.By bySelector) |
WebElementState |
shouldContainElements(String xpathOrCssSelector) |
WebElementState |
shouldContainOnlyText(String textValue)
Check that an element exactly matches a text value
|
WebElementState |
shouldContainSelectedOption(String textValue) |
WebElementState |
shouldContainText(String textValue)
Check that an element contains a text value
|
WebElementState |
shouldNotBeCurrentlyVisible()
Checks whether a web element is not visible straight away.
|
WebElementState |
shouldNotBeEnabled() |
WebElementState |
shouldNotBePresent() |
WebElementState |
shouldNotBeSelected() |
WebElementState |
shouldNotBeVisible()
Checks whether a web element is not visible.
|
WebElementState |
shouldNotContainText(String textValue)
Check that an element does not contain a text value
|
void |
submit() |
WebElementFacade |
then()
Convenience method to chain method calls more fluently.
|
WebElementFacade |
then(org.openqa.selenium.By bySelector) |
WebElementFacade |
then(String xpathOrCssSelector) |
WebElementFacade |
then(String xpathOrCssSelector,
Object... arguments) |
WebElementFacade |
thenFind(String xpathOrCssSelector) |
WebElementFacade |
thenFind(String xpathOrCssSelector,
Object... arguments) |
ListOfWebElementFacades |
thenFindAll(org.openqa.selenium.By... selectors) |
ListOfWebElementFacades |
thenFindAll(String xpathOrCssSelector) |
ListOfWebElementFacades |
thenFindAll(String xpathOrCssSelector,
Object... arguments) |
long |
timeoutInMilliseconds() |
String |
toString() |
WebElementFacade |
type(CharSequence... keysToSend)
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 |
waitUntilClickable() |
WebElementFacade |
waitUntilDisabled() |
protected void |
waitUntilElementAvailable() |
protected void |
waitUntilElementPresent() |
WebElementFacade |
waitUntilEnabled() |
WebElementFacade |
waitUntilNotVisible() |
WebElementFacade |
waitUntilPresent() |
WebElementFacade |
waitUntilVisible() |
WebElementFacade |
withTimeoutOf(Duration duration) |
WebElementFacade |
withTimeoutOf(int timeout,
TemporalUnit unit) |
WebElementFacade |
withTimeoutOf(int timeout,
TimeUnit unit) |
static <T extends WebElementFacade> |
wrapWebElement(org.openqa.selenium.WebDriver driver,
org.openqa.selenium.By bySelector,
long timeoutInMilliseconds,
long waitForTimeoutInMilliseconds,
String foundBy) |
static WebElementFacade |
wrapWebElement(org.openqa.selenium.WebDriver driver,
org.openqa.selenium.WebElement element) |
static WebElementFacade |
wrapWebElement(org.openqa.selenium.WebDriver driver,
org.openqa.selenium.WebElement element,
long timeout) |
static <T extends WebElementFacade> |
wrapWebElement(org.openqa.selenium.WebDriver driver,
org.openqa.selenium.WebElement element,
long timeoutInMilliseconds,
long waitForTimeoutInMilliseconds) |
static <T extends WebElementFacade> |
wrapWebElement(org.openqa.selenium.WebDriver driver,
org.openqa.selenium.WebElement element,
long timeoutInMilliseconds,
long waitForTimeoutInMilliseconds,
String foundBy) |
static <T extends WebElementFacade> |
wrapWebElement(org.openqa.selenium.WebDriver driver,
org.openqa.selenium.WebElement resolvedELement,
org.openqa.selenium.WebElement element,
org.openqa.selenium.By bySelector,
org.openqa.selenium.support.pagefactory.ElementLocator locator,
long timeoutInMilliseconds,
long waitForTimeoutInMilliseconds,
String foundBy) |
public WebElementFacadeImpl(org.openqa.selenium.WebDriver driver,
org.openqa.selenium.support.pagefactory.ElementLocator locator,
org.openqa.selenium.WebElement webElement,
long implicitTimeoutInMilliseconds,
long waitForTimeoutInMilliseconds,
org.openqa.selenium.By bySelector)
public WebElementFacadeImpl(org.openqa.selenium.WebDriver driver,
org.openqa.selenium.WebElement webElement,
long implicitTimeoutInMilliseconds,
long waitForTimeoutInMilliseconds,
org.openqa.selenium.By bySelector)
public WebElementFacadeImpl(org.openqa.selenium.WebDriver driver,
org.openqa.selenium.support.pagefactory.ElementLocator locator,
org.openqa.selenium.WebElement webElement,
long implicitTimeoutInMilliseconds,
long waitForTimeoutInMilliseconds)
public WebElementFacadeImpl(org.openqa.selenium.WebDriver driver,
org.openqa.selenium.support.pagefactory.ElementLocator locator,
org.openqa.selenium.WebElement webElement,
long implicitTimeoutInMilliseconds)
public WebElementFacadeImpl(org.openqa.selenium.WebDriver driver,
org.openqa.selenium.support.pagefactory.ElementLocator locator,
org.openqa.selenium.WebElement webElement,
org.openqa.selenium.WebElement resolvedELement,
org.openqa.selenium.By bySelector,
long timeoutInMilliseconds,
long waitForTimeoutInMilliseconds)
public WebElementFacadeImpl(org.openqa.selenium.WebDriver driver,
org.openqa.selenium.support.pagefactory.ElementLocator locator,
long implicitTimeoutInMilliseconds)
public WebElementFacadeImpl(org.openqa.selenium.WebDriver driver,
org.openqa.selenium.support.pagefactory.ElementLocator locator,
long implicitTimeoutInMilliseconds,
long waitForTimeoutInMilliseconds)
public static <T extends WebElementFacade> T wrapWebElement(org.openqa.selenium.WebDriver driver, org.openqa.selenium.WebElement element, long timeoutInMilliseconds, long waitForTimeoutInMilliseconds)
public static <T extends WebElementFacade> T wrapWebElement(org.openqa.selenium.WebDriver driver, org.openqa.selenium.WebElement element, long timeoutInMilliseconds, long waitForTimeoutInMilliseconds, String foundBy)
public static <T extends WebElementFacade> T wrapWebElement(org.openqa.selenium.WebDriver driver, org.openqa.selenium.WebElement resolvedELement, org.openqa.selenium.WebElement element, org.openqa.selenium.By bySelector, org.openqa.selenium.support.pagefactory.ElementLocator locator, long timeoutInMilliseconds, long waitForTimeoutInMilliseconds, String foundBy)
public static <T extends WebElementFacade> T wrapWebElement(org.openqa.selenium.WebDriver driver, org.openqa.selenium.By bySelector, long timeoutInMilliseconds, long waitForTimeoutInMilliseconds, String foundBy)
public static WebElementFacade wrapWebElement(org.openqa.selenium.WebDriver driver, org.openqa.selenium.WebElement element, long timeout)
public static WebElementFacade wrapWebElement(org.openqa.selenium.WebDriver driver, org.openqa.selenium.WebElement element)
public org.openqa.selenium.WebElement getElement()
getElement in interface WebElementFacadeprotected JavascriptExecutorFacade getJavascriptExecutorFacade()
protected InternalSystemClock getClock()
public WebElementFacade then(String xpathOrCssSelector, Object... arguments)
then in interface WebElementFacadepublic WebElementFacade thenFind(String xpathOrCssSelector, Object... arguments)
thenFind in interface WebElementFacadepublic WebElementFacade thenFind(String xpathOrCssSelector)
thenFind in interface WebElementFacadepublic WebElementFacade then(String xpathOrCssSelector)
then in interface WebElementFacadepublic <T extends WebElementFacade> T findBy(String xpathOrCssSelector)
findBy in interface WebElementFacadepublic <T extends WebElementFacade> T findBy(String xpathOrCssSelector, Object... arguments)
findBy in interface WebElementFacadepublic long timeoutInMilliseconds()
public ListOfWebElementFacades thenFindAll(String xpathOrCssSelector)
thenFindAll in interface WebElementFacadepublic ListOfWebElementFacades thenFindAll(String xpathOrCssSelector, Object... arguments)
thenFindAll in interface WebElementFacadepublic WebElementFacade findBy(org.openqa.selenium.By selector)
findBy in interface WebElementFacadepublic WebElementFacade find(org.openqa.selenium.By bySelector)
find in interface WebElementFacadepublic WebElementFacade then(org.openqa.selenium.By bySelector)
then in interface WebElementFacadepublic String getAttribute(String name)
getAttribute in interface WebElementFacadegetAttribute in interface WebElementStategetAttribute in interface org.openqa.selenium.WebElementpublic ListOfWebElementFacades thenFindAll(org.openqa.selenium.By... selectors)
thenFindAll in interface WebElementFacadepublic long getImplicitTimeoutInMilliseconds()
getImplicitTimeoutInMilliseconds in interface WebElementFacadepublic Duration getImplicitTimeout()
public WebElementFacade withTimeoutOf(int timeout, TimeUnit unit)
withTimeoutOf in interface WebElementFacadepublic WebElementFacade withTimeoutOf(int timeout, TemporalUnit unit)
withTimeoutOf in interface WebElementFacadepublic WebElementFacade withTimeoutOf(Duration duration)
withTimeoutOf in interface WebElementFacadepublic boolean isVisible()
isVisible in interface WebElementStatepublic WebElementFacade and()
and in interface WebElementFacadepublic WebElementFacade then()
then in interface WebElementFacadepublic boolean isCurrentlyVisible()
isCurrentlyVisible in interface WebElementStatepublic boolean isCurrentlyEnabled()
isCurrentlyEnabled in interface WebElementStatepublic WebElementState shouldBeVisible()
shouldBeVisible in interface WebElementStatepublic WebElementState shouldBeCurrentlyVisible()
shouldBeCurrentlyVisible in interface WebElementStatepublic WebElementState shouldNotBeVisible()
shouldNotBeVisible in interface WebElementStatepublic WebElementState shouldNotBeCurrentlyVisible()
shouldNotBeCurrentlyVisible in interface WebElementStatepublic boolean hasFocus()
hasFocus in interface WebElementStatepublic boolean containsText(String value)
containsText in interface WebElementStatepublic boolean containsValue(String value)
WebElementStatecontainsValue in interface WebElementStatepublic boolean containsOnlyText(String value)
containsOnlyText in interface WebElementStatepublic boolean containsSelectOption(String value)
containsSelectOption in interface WebElementStatepublic List<String> getSelectOptions()
getSelectOptions in interface WebElementFacadegetSelectOptions in interface WebElementStatepublic org.openqa.selenium.support.pagefactory.ElementLocator getLocator()
public void setImplicitTimeout(Duration implicitTimeout)
setImplicitTimeout in interface ConfigurableTimeoutspublic Duration getCurrentImplicitTimeout()
getCurrentImplicitTimeout in interface ConfigurableTimeoutspublic Duration resetTimeouts()
resetTimeouts in interface ConfigurableTimeoutspublic String getFoundBy()
public WebElementState shouldContainText(String textValue)
shouldContainText in interface WebElementStatetextValue - public WebElementState shouldContainOnlyText(String textValue)
shouldContainOnlyText in interface WebElementStatetextValue - public WebElementState shouldContainSelectedOption(String textValue)
shouldContainSelectedOption in interface WebElementStatepublic WebElementState shouldNotContainText(String textValue)
shouldNotContainText in interface WebElementStatetextValue - public WebElementState shouldBeEnabled()
shouldBeEnabled in interface WebElementStatepublic boolean isEnabled()
isEnabled in interface WebElementStateisEnabled in interface org.openqa.selenium.WebElementpublic WebElementState shouldNotBeEnabled()
shouldNotBeEnabled in interface WebElementStatepublic boolean isClickable()
isClickable in interface WebElementStatepublic WebElementFacade type(CharSequence... keysToSend)
type in interface WebElementFacadekeysToSend - public WebElementFacade typeAndEnter(String value)
typeAndEnter in interface WebElementFacadevalue - public WebElementFacade typeAndTab(String value)
typeAndTab in interface WebElementFacadevalue - public void setWindowFocus()
setWindowFocus in interface WebElementFacadepublic FluentDropdownSelect select()
select in interface WebElementFacadepublic FluentDropdownDeselect deselect()
deselect in interface WebElementFacadepublic WebElementFacade deselectAll()
deselectAll in interface WebElementFacadepublic WebElementFacade deselectByIndex(int indexValue)
deselectByIndex in interface WebElementFacadepublic WebElementFacade deselectByVisibleText(String label)
deselectByVisibleText in interface WebElementFacadepublic WebElementFacade deselectByValue(String value)
deselectByValue in interface WebElementFacadepublic WebElementFacade selectByVisibleText(String label)
selectByVisibleText in interface WebElementFacadepublic String getSelectedVisibleTextValue()
getSelectedVisibleTextValue in interface WebElementStatepublic String getFirstSelectedOptionVisibleText()
getFirstSelectedOptionVisibleText in interface WebElementFacadepublic List<String> getSelectedVisibleTexts()
getSelectedVisibleTexts in interface WebElementFacadegetSelectedVisibleTexts in interface WebElementStatepublic String getFirstSelectedOptionValue()
getFirstSelectedOptionValue in interface WebElementFacade@Deprecated public WebElementFacade selectByValue(String value)
selectByValue in interface WebElementFacadepublic String getSelectedValue()
getSelectedValue in interface WebElementStatepublic List<String> getSelectedValues()
getSelectedValues in interface WebElementFacadegetSelectedValues in interface WebElementState@Deprecated public WebElementFacade selectByIndex(int indexValue)
selectByIndex in interface WebElementFacadepublic <X> X getScreenshotAs(org.openqa.selenium.OutputType<X> target)
throws org.openqa.selenium.WebDriverException
getScreenshotAs in interface org.openqa.selenium.TakesScreenshotorg.openqa.selenium.WebDriverExceptionprotected void waitUntilElementAvailable()
protected void waitUntilElementPresent()
protected boolean driverIsDisabled()
public boolean isPresent()
isPresent in interface WebElementStatepublic WebElementState shouldBePresent()
shouldBePresent in interface WebElementStatepublic WebElementState shouldNotBePresent()
shouldNotBePresent in interface WebElementStatepublic WebElementState shouldBeSelected()
shouldBeSelected in interface WebElementStatepublic WebElementState shouldNotBeSelected()
shouldNotBeSelected in interface WebElementStatepublic WebElementFacade waitUntilVisible()
waitUntilVisible in interface WebElementFacadepublic WebElementFacade waitUntilPresent()
waitUntilPresent in interface WebElementFacadepublic org.openqa.selenium.support.ui.Wait<org.openqa.selenium.WebDriver> waitForCondition()
waitForCondition in interface WebElementFacadepublic WebElementFacade waitUntilNotVisible()
waitUntilNotVisible in interface WebElementFacadepublic String getValue()
getValue in interface WebElementFacadegetValue in interface WebElementStatepublic boolean isSelected()
isSelected in interface WebElementStateisSelected in interface org.openqa.selenium.WebElementpublic String getText()
getText in interface WebElementFacadegetText in interface WebElementStategetText in interface org.openqa.selenium.WebElementpublic String getTextContent()
getTextContent in interface WebElementFacadepublic boolean isDisabled()
isDisabled in interface WebElementFacadeisDisabled in interface WebElementStatepublic WebElementFacade waitUntilEnabled()
waitUntilEnabled in interface WebElementFacadepublic WebElementFacade waitUntilClickable()
waitUntilClickable in interface WebElementFacadepublic WebElementFacade waitUntilDisabled()
waitUntilDisabled in interface WebElementFacadepublic String getTextValue()
getTextValue in interface WebElementStatepublic WebElementState expect(String errorMessage)
expect in interface WebElementStateprotected WebElementState expectingErrorMessage(String errorMessage)
public void click(ClickStrategy clickStrategy)
click in interface WebElementFacadepublic void click()
click in interface WebElementFacadeclick in interface org.openqa.selenium.WebElementpublic void doubleClick()
doubleClick in interface WebElementFacadepublic void contextClick()
contextClick in interface WebElementFacadepublic void clear()
clear in interface WebElementFacadeclear in interface org.openqa.selenium.WebElementprotected void notifyScreenChange()
public String toString()
toString in interface WebElementFacadetoString in class Objectpublic void submit()
submit in interface org.openqa.selenium.WebElementpublic void sendKeys(CharSequence... keysToSend)
sendKeys in interface org.openqa.selenium.WebElementpublic String getTagName()
getTagName in interface org.openqa.selenium.WebElementpublic 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 org.openqa.selenium.Rectangle getRect()
getRect in interface org.openqa.selenium.WebElementpublic String getCssValue(String propertyName)
getCssValue in interface org.openqa.selenium.WebElementpublic boolean containsElements(org.openqa.selenium.By bySelector)
containsElements in interface WebElementFacadepublic boolean containsElements(String xpathOrCssSelector)
containsElements in interface WebElementFacadepublic WebElementState shouldContainElements(org.openqa.selenium.By bySelector)
shouldContainElements in interface WebElementFacadepublic WebElementState shouldContainElements(String xpathOrCssSelector)
shouldContainElements in interface WebElementFacadepublic boolean hasClass(String cssClassName)
hasClass in interface WebElementFacadepublic WebElementFacade foundBy(String foundBy)
public org.openqa.selenium.interactions.Coordinates getCoordinates()
getCoordinates in interface org.openqa.selenium.interactions.Locatablepublic org.openqa.selenium.WebElement getWrappedElement()
getWrappedElement in interface org.openqa.selenium.WrapsElementpublic String getDomProperty(String name)
getDomProperty in interface org.openqa.selenium.WebElementpublic String getDomAttribute(String name)
getDomAttribute in interface org.openqa.selenium.WebElementpublic String getAriaRole()
getAriaRole in interface org.openqa.selenium.WebElementpublic String getAccessibleName()
getAccessibleName in interface org.openqa.selenium.WebElementpublic org.openqa.selenium.SearchContext getShadowRoot()
getShadowRoot in interface org.openqa.selenium.WebElementpublic ListOfWebElementFacades findNestedElementsMatching(ResolvableElement nestedElement)
findNestedElementsMatching in interface WebElementFacadepublic static ListOfWebElementFacades fromWebElements(List<org.openqa.selenium.WebElement> elements)
Copyright © 2022. All rights reserved.