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 Type
    Method
    Description
    default 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>
    $ (List<org.openqa.selenium.WebElement> rawElements)
    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.
    E
    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.
    find (List<org.openqa.selenium.WebElement> rawElements)
    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

      FluentList<E> find (List<org.openqa.selenium.WebElement> rawElements)
      Wrap raw selenium elements into a list of elements.
      Parameters:
      rawElements - raw selenium elements
      Returns:
      list of element
    • $

      default FluentList<E> $ (List<org.openqa.selenium.WebElement> rawElements)
      Wrap raw selenium elements into a list of elements.
      Parameters:
      rawElements - raw selenium elements
      Returns:
      list of element
    • find

      FluentList<E> find (String selector, SearchFilter... filters)
      Find list of elements with CSS selector and filters.
      Parameters:
      selector - CSS selector
      filters - set of filters
      Returns:
      list of element
    • $

      default FluentList<E> $ (String selector, SearchFilter... filters)
      Find list of elements with CSS selector and filters.
      Parameters:
      selector - CSS selector
      filters - set of filters
      Returns:
      list of element
    • el

      E el (org.openqa.selenium.WebElement rawElement)
      Wrap existing raw selenium element into an element.
      Parameters:
      rawElement - raw selenium element
      Returns:
      element
    • el

      default E el (String selector, SearchFilter... filters)
      Find first element with CSS selector and filters.
      Parameters:
      selector - CSS selector
      filters - set of filters
      Returns:
      element
    • find

      FluentList<E> find (SearchFilter... filters)
      Find list of elements with filters.
      Parameters:
      filters - set of filters in the current context
      Returns:
      list of elements
    • $

      default FluentList<E> $ (SearchFilter... filters)
      Find list of elements with filters.
      Parameters:
      filters - set of filters in the current context
      Returns:
      list of elements
    • el

      default E el (SearchFilter... filters)
      Find first element with filters.
      Parameters:
      filters - set of filters in the current context
      Returns:
      element
    • find

      FluentList<E> find (org.openqa.selenium.By locator, SearchFilter... filters)
      Find list of elements with Selenium locator and filters.
      Parameters:
      locator - elements locator
      filters - filters set
      Returns:
      list of elements
    • $

      default FluentList<E> $ (org.openqa.selenium.By locator, SearchFilter... filters)
      Find list of elements with Selenium locator and filters.
      Parameters:
      locator - elements locator
      filters - filters set
      Returns:
      list of elements
    • $

      default FluentList<E> $ (io.appium.java_client.AppiumBy locator, SearchFilter... filters)
      Find list of elements with Appium locator and filters.
      Parameters:
      locator - mobile elements locator
      filters - filters set
      Returns:
      list of elements
    • el

      default E el (io.appium.java_client.AppiumBy locator, SearchFilter... filters)
      Find first element with Appium locator and filters.
      Parameters:
      locator - mobile elements locator
      filters - filters set
      Returns:
      element
    • el

      default E el (org.openqa.selenium.By locator, SearchFilter... filters)
      Find first element with Selenium locator and filters.
      Parameters:
      locator - elements locator
      filters - filters set
      Returns:
      element