public class JQueryLocator extends AbstractIterableLocator<JQueryLocator> implements ExtendedLocator<JQueryLocator>, FilterableLocator<JQueryLocator>
Locates the element using JQuery Selector syntax.
This syntax is extended in AjaxSelenium by new filters similar to :contains(text)
AbstractIterableLocator.ElementIterator| Constructor and Description |
|---|
JQueryLocator(String jquerySelector)
Instantiates a new jQuery locator.
|
| Modifier and Type | Method and Description |
|---|---|
JQueryLocator |
filter(String extension) |
JQueryLocator |
format(Object... args) |
JQueryLocator |
get(int index) |
JQueryLocator |
getChild(JQueryLocator elementLocator) |
JQueryLocator |
getDescendant(JQueryLocator elementLocator) |
ElementLocationStrategy |
getLocationStrategy() |
iterator, sizegetAttributegetRawLocator, inSeleniumRepresentation, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waititerator, sizegetAttributegetRawLocatorinSeleniumRepresentationpublic JQueryLocator(String jquerySelector)
jquerySelector - the jquery selectorpublic ElementLocationStrategy getLocationStrategy()
getLocationStrategy in interface ElementLocator<JQueryLocator>getLocationStrategy in interface Locator<JQueryLocator>public JQueryLocator get(int index)
get in interface IterableLocator<JQueryLocator>public JQueryLocator getChild(JQueryLocator elementLocator)
getChild in interface CompoundableLocator<JQueryLocator>public JQueryLocator getDescendant(JQueryLocator elementLocator)
getDescendant in interface CompoundableLocator<JQueryLocator>public JQueryLocator format(Object... args)
format in interface ElementLocator<JQueryLocator>format in interface ExtendedLocator<JQueryLocator>format in interface Locator<JQueryLocator>format in class AbstractElementLocator<JQueryLocator>public JQueryLocator filter(String extension)
filter in interface FilterableLocator<JQueryLocator>Copyright © 2013 JBoss by Red Hat. All Rights Reserved.