org.seleniumhq.selenium.fluent
Class FluentWebElements
java.lang.Object
org.seleniumhq.selenium.fluent.Internal.BaseFluentWebDriver
org.seleniumhq.selenium.fluent.Internal.BaseFluentWebElement
org.seleniumhq.selenium.fluent.Internal.BaseFluentWebElements
org.seleniumhq.selenium.fluent.FluentWebElements
- All Implemented Interfaces:
- Iterable<FluentWebElement>, Collection<FluentWebElement>, List<FluentWebElement>
- Direct Known Subclasses:
- FluentSelects
public class FluentWebElements
- extends Internal.BaseFluentWebElements
| Methods inherited from class org.seleniumhq.selenium.fluent.Internal.BaseFluentWebDriver |
abbr, abbr, abbrs, abbrs, acronym, acronym, acronyms, acronyms, address, address, addresses, addresses, area, area, areas, areas, assertTagIs, b, b, beforeFindElement, blockquote, blockquote, blockquotes, blockquotes, bs, bs, button, button, buttons, buttons, changeTimeout, div, div, divs, divs, 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, 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, wrapRuntimeException |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FluentWebElements
protected FluentWebElements(org.openqa.selenium.WebDriver delegate,
List<FluentWebElement> currentElements,
Context context,
Monitor monitor,
boolean booleanInsteadOfNoSuchElement)
newFluentWebElements
protected Internal.BaseFluentWebElements newFluentWebElements(Internal.BaseFluentWebDriver.MultipleResult multiple)
- Overrides:
newFluentWebElements in class Internal.BaseFluentWebDriver
click
public FluentWebElements click()
clearField
public FluentWebElements clearField()
- Use this instead of clear() to clear an WebElement
submit
public FluentWebElements submit()
sendKeys
public FluentWebElements sendKeys(CharSequence... keysToSend)
isSelected
public boolean isSelected()
isEnabled
public boolean isEnabled()
isDisplayed
public boolean isDisplayed()
getText
public TestableString getText()
findElement
protected final org.openqa.selenium.WebElement findElement(org.openqa.selenium.By by,
Context ctx,
org.openqa.selenium.SearchContext searchContext)
- Specified by:
findElement in class Internal.BaseFluentWebDriver
findElements
protected final List<org.openqa.selenium.WebElement> findElements(org.openqa.selenium.By by,
Context ctx)
- Specified by:
findElements in class Internal.BaseFluentWebDriver
actualFindElement
protected final org.openqa.selenium.WebElement actualFindElement(org.openqa.selenium.By by,
Context ctx,
org.openqa.selenium.SearchContext searchContext)
- Specified by:
actualFindElement in class Internal.BaseFluentWebDriver
actualFindElements
protected final List<org.openqa.selenium.WebElement> actualFindElements(org.openqa.selenium.By by,
Context ctx)
- Specified by:
actualFindElements in class Internal.BaseFluentWebDriver
filter
public FluentWebElements filter(FluentMatcher matcher)
first
public FluentWebElement first(FluentMatcher matcher)
size
public int size()
isEmpty
public boolean isEmpty()
contains
public boolean contains(Object o)
iterator
public Iterator<FluentWebElement> iterator()
toArray
public Object[] toArray()
toArray
public <FluentWebElement> FluentWebElement[] toArray(FluentWebElement[] ts)
containsAll
public boolean containsAll(Collection<?> objects)
retainAll
public boolean retainAll(Collection<?> objects)
get
public FluentWebElement get(int i)
indexOf
public int indexOf(Object o)
lastIndexOf
public int lastIndexOf(Object o)
listIterator
public ListIterator<FluentWebElement> listIterator()
listIterator
public ListIterator<FluentWebElement> listIterator(int i)
subList
public List<FluentWebElement> subList(int i,
int i1)
Copyright © 2013. All Rights Reserved.