Package io.fluentlenium.core.search
Interface SearchControl<E extends FluentWebElement>
- Type Parameters:
E
- fluent web element type
- All Known Subinterfaces:
FluentControl
,FluentList<E>
,FluentPageControl
,IFluentAdapter
- All Known Implementing Classes:
BaseFluentHook
,BaseHook
,ContainerFluentControl
,DefaultFluentContainer
,FluentAdapter
,FluentControlImpl
,FluentCucumberTest
,FluentDriver
,FluentListImpl
,FluentPage
,FluentStandalone
,FluentStandaloneRunnable
,FluentTest
,FluentTest
,FluentTestNg
,FluentTestNgSpringTest
,FluentTestRunnerAdapter
,FluentWebElement
,IsolatedTest
,Search
,WaitHook
public interface SearchControl<E extends FluentWebElement>
Control interface to search for elements.
-
Method Summary
Modifier and TypeMethodDescriptiondefault FluentList<E>
$
(io.appium.java_client.AppiumBy locator, SearchFilter... filters) Find list of elements with Appium locator and filters.default FluentList<E>
$
(String selector, SearchFilter... filters) Find list of elements with CSS selector and filters.default FluentList<E>
Wrap raw selenium elements into a list of elements.default FluentList<E>
$
(SearchFilter... filters) Find list of elements with filters.default FluentList<E>
$
(org.openqa.selenium.By locator, SearchFilter... filters) Find list of elements with Selenium locator and filters.default E
el
(io.appium.java_client.AppiumBy locator, SearchFilter... filters) Find first element with Appium locator and filters.default E
el
(String selector, SearchFilter... filters) Find first element with CSS selector and filters.default E
el
(SearchFilter... filters) Find first element with filters.default E
el
(org.openqa.selenium.By locator, SearchFilter... filters) Find first element with Selenium locator and filters.el
(org.openqa.selenium.WebElement rawElement) Wrap existing raw selenium element into an element.find
(String selector, SearchFilter... filters) Find list of elements with CSS selector and filters.Wrap raw selenium elements into a list of elements.find
(SearchFilter... filters) Find list of elements with filters.find
(org.openqa.selenium.By locator, SearchFilter... filters) Find list of elements with Selenium locator and filters.
-
Method Details
-
find
Wrap raw selenium elements into a list of elements.- Parameters:
rawElements
- raw selenium elements- Returns:
- list of element
-
$
Wrap raw selenium elements into a list of elements.- Parameters:
rawElements
- raw selenium elements- Returns:
- list of element
-
find
Find list of elements with CSS selector and filters.- Parameters:
selector
- CSS selectorfilters
- set of filters- Returns:
- list of element
-
$
Find list of elements with CSS selector and filters.- Parameters:
selector
- CSS selectorfilters
- set of filters- Returns:
- list of element
-
el
Wrap existing raw selenium element into an element.- Parameters:
rawElement
- raw selenium element- Returns:
- element
-
el
Find first element with CSS selector and filters.- Parameters:
selector
- CSS selectorfilters
- set of filters- Returns:
- element
-
find
Find list of elements with filters.- Parameters:
filters
- set of filters in the current context- Returns:
- list of elements
-
$
Find list of elements with filters.- Parameters:
filters
- set of filters in the current context- Returns:
- list of elements
-
el
Find first element with filters.- Parameters:
filters
- set of filters in the current context- Returns:
- element
-
find
Find list of elements with Selenium locator and filters.- Parameters:
locator
- elements locatorfilters
- filters set- Returns:
- list of elements
-
$
Find list of elements with Selenium locator and filters.- Parameters:
locator
- elements locatorfilters
- filters set- Returns:
- list of elements
-
$
Find list of elements with Appium locator and filters.- Parameters:
locator
- mobile elements locatorfilters
- filters set- Returns:
- list of elements
-
el
Find first element with Appium locator and filters.- Parameters:
locator
- mobile elements locatorfilters
- filters set- Returns:
- element
-
el
Find first element with Selenium locator and filters.- Parameters:
locator
- elements locatorfilters
- filters set- Returns:
- element
-