public class FluentWebElements extends Internal.BaseFluentWebElements
Internal.BaseFluentWebDriver.MultipleResult, Internal.BaseFluentWebDriver.SingleResultbooleanInsteadOfNotFoundException, context, delegate, GENERIC_TAG, monitor| Modifier | Constructor and Description |
|---|---|
protected |
FluentWebElements(org.openqa.selenium.WebDriver delegate,
java.util.List<FluentWebElement> currentElements,
Context context,
Monitor monitor,
boolean booleanInsteadOfNoSuchElement) |
| Modifier and Type | Method and Description |
|---|---|
protected org.openqa.selenium.WebElement |
actualFindElement(org.openqa.selenium.By by,
Context ctx,
org.openqa.selenium.SearchContext searchContext) |
protected java.util.List<org.openqa.selenium.WebElement> |
actualFindElements(org.openqa.selenium.By by,
Context ctx) |
FluentWebElements |
clearField()
Use this instead of clear() to clear an WebElement
|
FluentWebElements |
click() |
boolean |
contains(java.lang.Object o) |
boolean |
containsAll(java.util.Collection<?> objects) |
FluentWebElements |
each(FluentWebElementVistor visitor) |
FluentWebElements |
filter(FluentMatcher matcher) |
protected org.openqa.selenium.WebElement |
findElement(org.openqa.selenium.By by,
Context ctx,
org.openqa.selenium.SearchContext searchContext) |
protected java.util.List<org.openqa.selenium.WebElement> |
findElements(org.openqa.selenium.By by,
Context ctx) |
FluentWebElement |
first(FluentMatcher matcher) |
FluentWebElement |
get(int i) |
TestableString |
getText() |
TestableString |
getText(TestableString.Concatenator concator) |
TestableString |
getText(TestableString.Concatenator concator,
TestableString.StringChanger... stringChangers) |
TestableString |
getText(TestableString.StringChanger... stringChangers) |
int |
indexOf(java.lang.Object o) |
boolean |
isDisplayed() |
boolean |
isEmpty() |
boolean |
isEnabled() |
boolean |
isSelected() |
java.util.Iterator<FluentWebElement> |
iterator() |
FluentWebElement |
last(FluentMatcher matcher) |
int |
lastIndexOf(java.lang.Object o) |
java.util.ListIterator<FluentWebElement> |
listIterator() |
java.util.ListIterator<FluentWebElement> |
listIterator(int i) |
<K,V> java.util.Map<K,V> |
map(FluentWebElementMap<K,V> mapper) |
protected Internal.BaseFluentWebElements |
newFluentWebElements(Internal.BaseFluentWebDriver.MultipleResult multiple) |
boolean |
retainAll(java.util.Collection<?> objects) |
FluentWebElements |
sendKeys(java.lang.CharSequence... keysToSend) |
int |
size() |
java.util.List<FluentWebElement> |
subList(int i,
int i1) |
FluentWebElements |
submit() |
java.lang.Object[] |
toArray() |
<FluentWebElement> |
toArray(FluentWebElement[] ts) |
add, add, addAll, addAll, clear, getWebElement, remove, remove, removeAll, setcharSeqArrayAsHumanString, makeFluentWebElementsabbr, abbr, abbrs, abbrs, acronym, acronym, acronyms, acronyms, address, address, addresses, addresses, area, area, areas, areas, assertTagIs, b, b, beforeFindElement, blockquote, blockquote, blockquotes, blockquotes, body, bs, bs, button, button, buttons, buttons, changeTimeout, div, div, divs, divs, element, element, element, element, elements, elements, elements, elements, executeAndWrapReThrowIfNeeded, fieldset, fieldset, fieldsets, fieldsets, figure, figure, figures, figures, fixupBy, footer, footer, footers, footers, form, form, forms, forms, getPeriod, getSearchContext, h1, h1, h1s, h1s, h2, h2, h2s, h2s, h3, h3, h3s, h3s, h4, h4, h4s, h4s, h5, h5, h5s, h5s, h6, h6, h6s, h6s, header, header, headers, headers, img, img, imgs, imgs, input, input, inputs, inputs, label, label, labels, labels, legend, legend, legends, legends, li, li, link, link, links, links, lis, lis, map, map, maps, maps, nav, nav, navs, navs, newFluentWebElement, object, object, objects, objects, ol, ol, ols, ols, option, option, options, options, p, p, pre, pre, pres, pres, ps, ps, resetTimeout, retryingFindIt, retryingFindThem, select, select, selects, selects, span, span, spans, spans, table, table, tables, tables, tbody, tbody, tbodys, tbodys, td, td, tds, tds, textarea, textarea, textareas, textareas, th, th, ths, ths, title, tr, tr, trs, trs, ul, ul, uls, uls, url, wrapAssertionError, wrapRuntimeExceptionprotected FluentWebElements(org.openqa.selenium.WebDriver delegate,
java.util.List<FluentWebElement> currentElements,
Context context,
Monitor monitor,
boolean booleanInsteadOfNoSuchElement)
protected Internal.BaseFluentWebElements newFluentWebElements(Internal.BaseFluentWebDriver.MultipleResult multiple)
newFluentWebElements in class Internal.BaseFluentWebDriverpublic FluentWebElements click()
public FluentWebElements clearField()
public FluentWebElements submit()
public FluentWebElements sendKeys(java.lang.CharSequence... keysToSend)
public boolean isSelected()
public boolean isEnabled()
public boolean isDisplayed()
public TestableString getText()
public TestableString getText(TestableString.Concatenator concator)
public TestableString getText(TestableString.StringChanger... stringChangers)
public TestableString getText(TestableString.Concatenator concator, TestableString.StringChanger... stringChangers)
public <K,V> java.util.Map<K,V> map(FluentWebElementMap<K,V> mapper)
public FluentWebElements each(FluentWebElementVistor visitor)
protected final org.openqa.selenium.WebElement findElement(org.openqa.selenium.By by,
Context ctx,
org.openqa.selenium.SearchContext searchContext)
findElement in class Internal.BaseFluentWebDriverprotected final java.util.List<org.openqa.selenium.WebElement> findElements(org.openqa.selenium.By by,
Context ctx)
findElements in class Internal.BaseFluentWebDriverprotected final org.openqa.selenium.WebElement actualFindElement(org.openqa.selenium.By by,
Context ctx,
org.openqa.selenium.SearchContext searchContext)
actualFindElement in class Internal.BaseFluentWebDriverprotected final java.util.List<org.openqa.selenium.WebElement> actualFindElements(org.openqa.selenium.By by,
Context ctx)
actualFindElements in class Internal.BaseFluentWebDriverpublic FluentWebElements filter(FluentMatcher matcher)
public FluentWebElement first(FluentMatcher matcher)
public FluentWebElement last(FluentMatcher matcher)
public int size()
public boolean isEmpty()
public boolean contains(java.lang.Object o)
public java.util.Iterator<FluentWebElement> iterator()
public java.lang.Object[] toArray()
public <FluentWebElement> FluentWebElement[] toArray(FluentWebElement[] ts)
public boolean containsAll(java.util.Collection<?> objects)
public boolean retainAll(java.util.Collection<?> objects)
public FluentWebElement get(int i)
public int indexOf(java.lang.Object o)
public int lastIndexOf(java.lang.Object o)
public java.util.ListIterator<FluentWebElement> listIterator()
public java.util.ListIterator<FluentWebElement> listIterator(int i)
public java.util.List<FluentWebElement> subList(int i, int i1)
Copyright © 2017. All Rights Reserved.