|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.test.selenium.locator.AbstractLocator<T>
org.jboss.test.selenium.locator.AbstractElementLocator<CssLocator>
org.jboss.test.selenium.locator.CssLocator
public class CssLocator
A element locator using CSS selectors.
Can be used to compose new locators.
| Constructor Summary | |
|---|---|
CssLocator(String cssSelector)
Initiates element locator by using CSS selectors. |
|
| Method Summary | |
|---|---|
CssLocator |
getChild(CssLocator elementLocator)
Gets a child of this locator by composing this locator with given elementLocator. |
CssLocator |
getDescendant(CssLocator elementLocator)
Gets a descendant of this locator by composing this locator with given elementLocator. |
ElementLocationStrategy |
getLocationStrategy()
Returns the location strategy for this element |
| Methods inherited from class org.jboss.test.selenium.locator.AbstractElementLocator |
|---|
format, getAttribute |
| Methods inherited from class org.jboss.test.selenium.locator.AbstractLocator |
|---|
getAsString, getRawLocator, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.jboss.test.selenium.locator.ElementLocator |
|---|
format, getAttribute |
| Methods inherited from interface org.jboss.test.selenium.locator.Locator |
|---|
getAsString, getRawLocator |
| Constructor Detail |
|---|
public CssLocator(String cssSelector)
cssSelector - CSS selector| Method Detail |
|---|
public ElementLocationStrategy getLocationStrategy()
Locator
getLocationStrategy in interface ElementLocator<CssLocator>getLocationStrategy in interface Locator<CssLocator>public CssLocator getChild(CssLocator elementLocator)
CompoundableLocator
getChild in interface CompoundableLocator<CssLocator>elementLocator - are added to this locator to compose new compount locator
public CssLocator getDescendant(CssLocator elementLocator)
CompoundableLocator
getDescendant in interface CompoundableLocator<CssLocator>elementLocator - are added to this locator to compose new compound locator
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||