org.fluentlenium.core.search
Class Search

java.lang.Object
  extended by org.fluentlenium.core.search.Search
All Implemented Interfaces:
SearchActions

public class Search
extends Object
implements SearchActions


Constructor Summary
Search(org.openqa.selenium.SearchContext context)
           
 
Method Summary
 FluentList<FluentWebElement> find(String name, Filter... filters)
          Central methods to find elements on the page.
 FluentWebElement find(String name, Integer number, Filter... filters)
          Return the elements at the numner position into the the lists corresponding to the cssSelector with it filters
 FluentWebElement findFirst(String name, Filter... filters)
          Return the first elements corresponding to the name and the filters
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Search

public Search(org.openqa.selenium.SearchContext context)
Method Detail

find

public FluentList<FluentWebElement> find(String name,
                                         Filter... filters)
Central methods to find elements on the page. Can provide some filters. Able to use css1, css2, css3, see WebDriver restrictions

Specified by:
find in interface SearchActions
Parameters:
name -
filters -
Returns:

find

public FluentWebElement find(String name,
                             Integer number,
                             Filter... filters)
Return the elements at the numner position into the the lists corresponding to the cssSelector with it filters

Specified by:
find in interface SearchActions
Parameters:
name -
number -
filters -
Returns:

findFirst

public FluentWebElement findFirst(String name,
                                  Filter... filters)
Return the first elements corresponding to the name and the filters

Specified by:
findFirst in interface SearchActions
Parameters:
name -
filters -
Returns:


Copyright © 2012 AConsulting. All Rights Reserved.