org.jboss.arquillian.ajocado.locator
Class CssLocator
java.lang.Object
org.jboss.arquillian.ajocado.locator.AbstractLocator<T>
org.jboss.arquillian.ajocado.locator.element.AbstractElementLocator<CssLocator>
org.jboss.arquillian.ajocado.locator.CssLocator
- All Implemented Interfaces:
- CompoundableLocator<CssLocator>, ElementLocator<CssLocator>, Locator<CssLocator>, SeleniumRepresentable
public class CssLocator
- extends AbstractElementLocator<CssLocator>
- implements CompoundableLocator<CssLocator>
A element locator using CSS selectors.
Can be used to compose new locators.
- Version:
- $Revision$
- Author:
- Lukas Fryc
Constructor Summary |
CssLocator(String cssSelector)
Initiates element locator by using CSS selectors. |
CssLocator
public CssLocator(String cssSelector)
- Initiates element locator by using CSS selectors.
- Parameters:
cssSelector
- CSS selector
getLocationStrategy
public ElementLocationStrategy getLocationStrategy()
- Specified by:
getLocationStrategy
in interface ElementLocator<CssLocator>
- Specified by:
getLocationStrategy
in interface Locator<CssLocator>
getChild
public CssLocator getChild(CssLocator elementLocator)
- Specified by:
getChild
in interface CompoundableLocator<CssLocator>
getDescendant
public CssLocator getDescendant(CssLocator elementLocator)
- Specified by:
getDescendant
in interface CompoundableLocator<CssLocator>
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.