| Package | Description |
|---|---|
| com.workfusion.rpa.helpers |
| Modifier and Type | Method and Description |
|---|---|
static UiElement |
RPA.$(By seleniumSelector)
Finds the first element matching given descriptor
|
UiElement |
UiElement.$(By selector)
Driver Type: Desktop, Web
|
static UiElement |
RPA.$(By seleniumSelector,
int index)
Driver Type: Desktop, Web
|
UiElement |
UiElement.$(By selector,
int index)
Driver Type: Desktop, Web
|
UiElement |
UiElement.$(java.lang.String cssSelector)
Driver Type: Desktop, Web
|
UiElement |
UiElement.$(java.lang.String cssSelector,
int index)
Driver Type: Desktop, Web
|
static UiElement |
RPA.$(WebElement webElement)
Wraps standard Selenium WebElement into UiElement
to use additional methods like shouldHave(), selectOption(), etc.
|
UiElement |
UiElement.append(java.lang.Object text)
Append given text to the text field.
|
UiElement |
UiElement.click(int clicks)
Click the element number of times
|
UiElement |
UiElement.click(int offsetX,
int offsetY)
Click the element with offset
Offset is calculated from TOP LEFT corner
|
UiElement |
UiElement.click(int clicks,
int offsetX,
int offsetY)
Click the element number of times
|
UiElement |
UiElement.closest(java.lang.String tagOrClass)
Find closes ancestor element matching given criteria.
|
UiElement |
UiElement.contextClick()
Click with right mouse button on this element
|
UiElement |
UiElement.contextClick(int offsetX,
int offsetY)
Click with right mouse button by offset on this element
|
UiElement |
UiElement.doubleClick()
Double click the element
|
UiElement |
UiElement.doubleClick(int offsetX,
int offsetY)
Double click the element
|
UiElement |
UiElement.find(By selector)
Find the first matching element inside given element
|
UiElement |
UiElement.find(By selector,
int index)
Find the Nth matching element inside given element
|
UiElement |
UiElement.find(java.lang.String cssSelector)
Find the first matching element inside given element
|
UiElement |
UiElement.find(java.lang.String cssSelector,
int index)
Find the Nth matching element inside given element
|
UiElement |
UiElementCollection.find(com.workfusion.rpa.helpers.conditionsnative.UiCondition condition)
Find the first element which met the given condition
|
UiElement |
UiElementCollection.findBy(com.workfusion.rpa.helpers.conditionsnative.UiCondition condition)
Find the first element which met the given condition
|
UiElement |
UiElementCollection.first() |
UiElement |
UiElementCollection.get(int index) |
static UiElement |
RPA.getElement(By criteria)
Finds the first element matching given criteria
|
static UiElement |
RPA.getElement(By criteria,
int index)
Finds the Nth element matching given criteria
|
static UiElement |
RPA.getFocusedElement()
Returns the currently focused UiElement,
that is, the element that will get keystroke events if the user types any.
|
UiElement |
UiElement.getSelectedOption()
Find selected option from this select field
|
UiElement |
UiElement.hover()
Emulate "mouseOver" event.
|
UiElement |
UiElementCollection.last() |
UiElement |
UiElement.parent()
Get parent element of this element
For example, $("td").parent() could give some "tr".
|
UiElement |
UiElement.pressBackSpace()
Press BACK_SPACE.
|
UiElement |
UiElement.pressCtrlA()
Send CTRL+A.
|
UiElement |
UiElement.pressCtrlC()
Send CTRL+C.
|
UiElement |
UiElement.pressCtrlShiftZ()
Send CTRL+SHIFT+Z.
|
UiElement |
UiElement.pressCtrlV()
Send CTRL+V.
|
UiElement |
UiElement.pressCtrlX()
Send CTRL+X.
|
UiElement |
UiElement.pressCtrlZ()
Send CTRL+Z.
|
UiElement |
UiElement.pressEnter()
Press ENTER.
|
UiElement |
UiElement.pressEscape()
Press ESCAPE.
|
UiElement |
UiElement.pressSpace()
Press SPACE.
|
UiElement |
UiElement.pressTab()
Press TAB.
|
UiElement |
UiElement.scrollDown(int times)
Moves mouse cursor to the center of element and scrolls down number of times.
|
UiElement |
UiElement.scrollTo()
Ask browser to scroll to this element
|
UiElement |
UiElement.scrollUp(int times)
Moves mouse cursor to the center of element and scrolls up number of times.
|
UiElement |
UiElement.selectOption(int index)
Select an option from dropdown list (by index)
|
UiElement |
UiElement.selectOption(java.lang.String text)
Select an option from dropdown list (by text)
|
UiElement |
UiElement.selectOptionByValue(java.lang.String value)
Select an option from dropdown list (by value)
|
UiElement |
UiElement.sendKeys(java.lang.Object text) |
UiElement |
UiElement.sendKeysWithFocus(java.lang.Object text)
It scrolls to the element, moves cursor to it and then performs sendKeys.
|
UiElement |
UiElement.setSelected(boolean selected)
Set checkbox/radio state to CHECKED or UNCHECKED.
|
UiElement |
UiElement.setText(java.lang.Object text)
Sets given text to a text field
|
UiElement |
UiElement.setValue(java.lang.Object text)
Clear the text field and enter given text.
|
UiElement |
UiElement.should(com.workfusion.rpa.helpers.conditionsnative.UiCondition... conditions) |
UiElement |
UiElement.should(com.workfusion.rpa.helpers.conditionsnative.UiCondition condition)
Checks that given element meets all of given conditions.
|
UiElement |
UiElement.should(com.workfusion.rpa.helpers.conditionsnative.UiCondition condition1,
com.workfusion.rpa.helpers.conditionsnative.UiCondition condition2) |
UiElement |
UiElement.shouldBe(com.workfusion.rpa.helpers.conditionsnative.UiCondition... conditions)
Synonym for
should(UiCondition...)}. |
UiElement |
UiElement.shouldBe(com.workfusion.rpa.helpers.conditionsnative.UiCondition condition) |
UiElement |
UiElement.shouldHave(com.workfusion.rpa.helpers.conditionsnative.UiCondition... conditions)
Synonym for
should(UiCondition...)}. |
UiElement |
UiElement.shouldHave(com.workfusion.rpa.helpers.conditionsnative.UiCondition condition) |
UiElement |
UiElement.shouldNot(com.workfusion.rpa.helpers.conditionsnative.UiCondition... conditions)
Checks that given element does not meet given conditions.
|
UiElement |
UiElement.shouldNot(com.workfusion.rpa.helpers.conditionsnative.UiCondition condition) |
UiElement |
UiElement.shouldNotBe(com.workfusion.rpa.helpers.conditionsnative.UiCondition... conditions)
Synonym for
shouldNot(UiCondition...). |
UiElement |
UiElement.shouldNotBe(com.workfusion.rpa.helpers.conditionsnative.UiCondition condition) |
UiElement |
UiElement.shouldNotHave(com.workfusion.rpa.helpers.conditionsnative.UiCondition... conditions)
Synonym for
shouldNot(UiCondition...). |
UiElement |
UiElement.shouldNotHave(com.workfusion.rpa.helpers.conditionsnative.UiCondition condition) |
UiElement |
UiElement.singleClick()
Single click the element.
|
UiElement |
UiElement.singleClick(int offsetX,
int offsetY)
Single click the element.
|
UiElement |
UiElement.text(java.lang.Object text)
Driver Type: Desktop, Web
|
UiElement |
UiElement.tripleClick()
Triple click the element
|
UiElement |
UiElement.tripleClick(int offsetX,
int offsetY)
Triple click the element
|
UiElement |
UiElement.val(java.lang.Object text)
Driver Type: Desktop, Web
|
UiElement |
UiElement.waitUntil(com.workfusion.rpa.helpers.conditionsnative.UiCondition condition)
Wait until given element meets given conditions.
|
UiElement |
UiElement.waitUntil(com.workfusion.rpa.helpers.conditionsnative.UiCondition condition,
long timeoutMilliseconds)
Wait until given element meets given conditions.
|
UiElement |
UiElement.waitUntil(com.workfusion.rpa.helpers.conditionsnative.UiCondition condition,
long timeoutMilliseconds,
long pollingIntervalMilliseconds)
Wait until given element meets given conditions.
|
UiElement |
UiElement.waitWhile(com.workfusion.rpa.helpers.conditionsnative.UiCondition condition)
Wait while given element meets given conditions.
|
UiElement |
UiElement.waitWhile(com.workfusion.rpa.helpers.conditionsnative.UiCondition condition,
long timeoutMilliseconds)
Wait while given element meets given conditions.
|
UiElement |
UiElement.waitWhile(com.workfusion.rpa.helpers.conditionsnative.UiCondition condition,
long timeoutMilliseconds,
long pollingIntervalMilliseconds)
Wait while given element meets given conditions.
|
UiElement |
UiElement.wheelClick()
Wheel click on the element
|
UiElement |
UiElement.wheelClick(int offsetX,
int offsetY)
Wheel click on the element
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Iterator<UiElement> |
UiElementCollection.iterator() |
java.util.ListIterator<UiElement> |
UiElementCollection.listIterator() |
java.util.ListIterator<UiElement> |
UiElementCollection.listIterator(int index) |
Copyright © 2024 WorkFusion, Inc. All rights reserved.