Package | Description |
---|---|
com.abmash.api |
Provides the main classes to control browsers and to find and interact with elements on the current web page.
|
com.abmash.api.browser |
Provides classes to extend the
Browser functionality and to further interact with it. |
com.abmash.api.query |
Provides classes to find elements on web pages.
|
com.abmash.core.query.predicate |
Provides classes that represent all possible query predicates.
|
Modifier and Type | Method and Description |
---|---|
HtmlElements |
HtmlElements.click()
Clicks all elements.
|
HtmlElements |
HtmlElements.dragTo(HtmlElement targetElement)
Drags all elements to a target element.
|
HtmlElements |
HtmlElement.getChildren()
Gets the children of this element in the document structure.
|
HtmlElements |
HtmlElement.getReferenceElements()
Gets reference elements, which are needed for internal closeness calculations.
|
HtmlElements |
HtmlElement.getSiblings()
Gets the siblings of this element in the document structure.
|
HtmlElements |
HtmlElements.hover()
Hovers all elements with the mouse.
|
HtmlElements |
HtmlElements.keyPress(java.lang.String keyName)
Presses key on all elements.
|
HtmlElements |
HtmlElements.submit()
Submits all elements.
|
HtmlElements |
HtmlElements.type(java.lang.String text)
Enters text in all elements.
|
Modifier and Type | Method and Description |
---|---|
void |
HtmlElement.setReferenceElements(HtmlElements referenceElements)
Sets reference elements, which are needed for internal closeness calculations.
|
Modifier and Type | Method and Description |
---|---|
void |
Debug.highlight(HtmlElements elements)
Debug method which highlights all given
HtmlElements with a red dashed border. |
Modifier and Type | Method and Description |
---|---|
HtmlElements |
Query.find()
Finds all elements that match the given predicates.
|
HtmlElements |
Query.findWithWait()
Finds all elements that match the given predicates.
|
Modifier and Type | Method and Description |
---|---|
static Predicate |
QueryFactory.above(HtmlElements elements)
Finds elements visually above the given
HtmlElements . |
static Predicate |
QueryFactory.aboveAll(HtmlElements elements)
Finds elements visually above all the elements that match the given
HtmlElements . |
static Predicate |
QueryFactory.below(HtmlElements elements)
Finds elements visually below the given
HtmlElements . |
static Predicate |
QueryFactory.belowAll(HtmlElements elements)
Finds elements visually below all the elements that match the given
HtmlElements . |
static Predicate |
QueryFactory.closeTo(DirectionOptions options,
HtmlElements elements)
Finds elements visually close to the given
HtmlElements . |
static Predicate |
QueryFactory.closeTo(HtmlElements elements)
Finds elements visually close to the given
HtmlElements , with a maximum distance of 300 pixels. |
static Predicate |
QueryFactory.closeTo(int maxDistance,
HtmlElements elements)
Finds elements visually close to the given
HtmlElements , with a maximum distance. |
static Predicate |
QueryFactory.elements(HtmlElements elements)
Returns the given
HtmlElements as predicate result. |
static Predicate |
QueryFactory.leftOf(HtmlElements elements)
Finds elements visually left of the given
HtmlElements . |
static Predicate |
QueryFactory.leftOfAll(HtmlElements elements)
Finds elements visually left of all the elements that match the given
HtmlElements . |
static Predicate |
QueryFactory.rightOf(HtmlElements elements)
Finds elements visually right of the given
HtmlElements . |
static Predicate |
QueryFactory.rightOfAll(HtmlElements elements)
Finds elements visually right of all the elements that match the given
HtmlElements . |
Modifier and Type | Method and Description |
---|---|
HtmlElements |
ElementPredicate.getElements() |
Constructor and Description |
---|
ElementPredicate(HtmlElements elements) |