com.atlassian.jira.pageobjects.framework.elements
Class ExtendedElementFinder

java.lang.Object
  extended by com.atlassian.jira.pageobjects.framework.elements.ExtendedElementFinder

public final class ExtendedElementFinder
extends Object

Finds with filtering

Since:
v5.0

Nested Class Summary
 class ExtendedElementFinder.QueryBuilder<P extends com.atlassian.pageobjects.elements.PageElement>
           
static interface ExtendedElementFinder.SearchQuery<T>
           
 class ExtendedElementFinder.TransformingQueryBuilder<P extends com.atlassian.pageobjects.elements.PageElement,T>
           
 
Constructor Summary
ExtendedElementFinder(com.atlassian.pageobjects.elements.PageElementFinder elementFinder, com.atlassian.pageobjects.PageBinder pageBinder)
           
 
Method Summary
 com.atlassian.pageobjects.elements.PageElement find(org.openqa.selenium.By by, org.hamcrest.Matcher<com.atlassian.pageobjects.elements.PageElement> filter)
           
 com.atlassian.pageobjects.elements.PageElement find(org.openqa.selenium.By by, com.google.common.base.Predicate<com.atlassian.pageobjects.elements.PageElement> filter)
           
 List<com.atlassian.pageobjects.elements.PageElement> findAll(org.openqa.selenium.By by, org.hamcrest.Matcher<com.atlassian.pageobjects.elements.PageElement> matcher)
           
 List<com.atlassian.pageobjects.elements.PageElement> findAll(org.openqa.selenium.By by, com.google.common.base.Predicate<com.atlassian.pageobjects.elements.PageElement> filter)
           
 ExtendedElementFinder.QueryBuilder<com.atlassian.pageobjects.elements.PageElement> newQuery(org.openqa.selenium.By by)
           
<P extends com.atlassian.pageobjects.elements.PageElement>
ExtendedElementFinder.QueryBuilder<P>
newQuery(org.openqa.selenium.By by, Class<P> as)
           
 ExtendedElementFinder within(org.openqa.selenium.By locator)
           
 ExtendedElementFinder within(com.atlassian.pageobjects.elements.PageElementFinder finder)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExtendedElementFinder

@Inject
public ExtendedElementFinder(com.atlassian.pageobjects.elements.PageElementFinder elementFinder,
                                    com.atlassian.pageobjects.PageBinder pageBinder)
Method Detail

find

public com.atlassian.pageobjects.elements.PageElement find(org.openqa.selenium.By by,
                                                           com.google.common.base.Predicate<com.atlassian.pageobjects.elements.PageElement> filter)

find

public com.atlassian.pageobjects.elements.PageElement find(org.openqa.selenium.By by,
                                                           org.hamcrest.Matcher<com.atlassian.pageobjects.elements.PageElement> filter)

findAll

public List<com.atlassian.pageobjects.elements.PageElement> findAll(org.openqa.selenium.By by,
                                                                    com.google.common.base.Predicate<com.atlassian.pageobjects.elements.PageElement> filter)

findAll

public List<com.atlassian.pageobjects.elements.PageElement> findAll(org.openqa.selenium.By by,
                                                                    org.hamcrest.Matcher<com.atlassian.pageobjects.elements.PageElement> matcher)

newQuery

public <P extends com.atlassian.pageobjects.elements.PageElement> ExtendedElementFinder.QueryBuilder<P> newQuery(org.openqa.selenium.By by,
                                                                                                                 Class<P> as)

within

public ExtendedElementFinder within(com.atlassian.pageobjects.elements.PageElementFinder finder)

within

public ExtendedElementFinder within(org.openqa.selenium.By locator)

newQuery

public ExtendedElementFinder.QueryBuilder<com.atlassian.pageobjects.elements.PageElement> newQuery(org.openqa.selenium.By by)


Copyright © 2002-2014 Atlassian. All Rights Reserved.