org.jboss.test.selenium.locator
Interface CompoundableLocator<T extends CompoundableLocator<T>>
- Type Parameters:
T - type what will be used as result of composition
- All Superinterfaces:
- ElementLocator<T>, Locator<T>
- All Known Subinterfaces:
- ExtendedLocator<T>
- All Known Implementing Classes:
- CssLocator, JQueryLocator, XpathLocator
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 compount 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 © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.