org.jboss.arquillian.ajocado.locator.element
Interface CompoundableLocator<T extends CompoundableLocator<T>>
- Type Parameters:
T - type what will be used as result of composition
- All Superinterfaces:
- ElementLocator<T>, Locator<T>, SeleniumRepresentable
- All Known Subinterfaces:
- ExtendedLocator<T>
public interface CompoundableLocator<T extends CompoundableLocator<T>>
- extends ElementLocator<T>
Defines element locators which can be used to derive child and generally descendant elements by given locator by
composition by composition.
- Version:
- $Revision$
- Author:
- Lukas Fryc
|
Method Summary |
T |
getChild(T elementLocator)
Gets a child of this locator by composing this locator with given elementLocator. |
T |
getDescendant(T elementLocator)
Gets a descendant of this locator by composing this locator with given elementLocator. |
getChild
T getChild(T elementLocator)
- Gets a child of this locator by composing this locator with given elementLocator.
- Parameters:
elementLocator - are added to this locator to compose new compound locator
- Returns:
- the composed locator for this locator with added elementLocator
getDescendant
T getDescendant(T elementLocator)
- Gets a descendant of this locator by composing this locator with given elementLocator.
- Parameters:
elementLocator - are added to this locator to compose new compound locator
- Returns:
- the composed locator for this locator with added elementLocator
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.