public class FluentWaitLocatorSelectorMatcher extends AbstractWaitElementListMatcher
search, selectionName, wait| Constructor and Description |
|---|
FluentWaitLocatorSelectorMatcher(Search search,
FluentWait fluentWait,
org.openqa.selenium.By locator) |
FluentWaitLocatorSelectorMatcher(Search search,
FluentWait fluentWait,
String selector) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
buildMessage(String defaultMessage)
Build the final message from default message.
|
protected FluentList<FluentWebElement> |
find()
Find the elements from configured matcher.
|
FluentWaitFiltersBuilder |
with(String attribute)
Create a filter builder for the attribute
|
FluentWaitFiltersBuilder |
withClass()
Create a filter builder for the attribute by class
|
AbstractWaitElementMatcher |
withClass(String value)
Check that the element has the corresponding class
|
FluentWaitFiltersBuilder |
withId()
Create a filter builder for the attribute by id
|
AbstractWaitElementMatcher |
withId(String value)
Check that the element has the corrsponding id
|
FluentWaitFiltersBuilder |
withName()
Create a filter builder for the attribute by name
|
AbstractWaitElementMatcher |
withName(String value)
Check that the element has the corresponding name
|
FluentWaitFiltersBuilder |
withText()
Create a filter builder for the attribute by text
|
AbstractWaitElementMatcher |
withText(String value)
Check that the element has the corresponding text
|
areDisplayed, areEnabled, areNotDisplayed, hasSize, hasSizecontainsText, hasAttribute, hasId, hasName, hasPositionX, hasText, isAboveScreenOrInvisible, isClickable, isDisplayed, isEnabled, isNotDisplayed, isNotPresent, isPresentuntilpublic FluentWaitLocatorSelectorMatcher(Search search, FluentWait fluentWait, org.openqa.selenium.By locator)
public FluentWaitLocatorSelectorMatcher(Search search, FluentWait fluentWait, String selector)
public FluentWaitFiltersBuilder with(String attribute)
attribute - attribute nameprotected String buildMessage(String defaultMessage)
AbstractWaitMatcherbuildMessage in class AbstractWaitMatcherdefaultMessage - the default message that will be used as base.protected FluentList<FluentWebElement> find()
AbstractWaitElementMatcherfind in class AbstractWaitElementMatcherpublic FluentWaitFiltersBuilder withId()
public AbstractWaitElementMatcher withId(String value)
value - id namepublic FluentWaitFiltersBuilder withName()
public AbstractWaitElementMatcher withName(String value)
value - element namepublic FluentWaitFiltersBuilder withClass()
public AbstractWaitElementMatcher withClass(String value)
value - class namepublic FluentWaitFiltersBuilder withText()
public AbstractWaitElementMatcher withText(String value)
value - the text value which should be includedCopyright © 2016 FluentLenium. All Rights Reserved.