Uses of Class
com.workfusion.rpa.helpers.UiElement

Packages that use UiElement
Package
Description
 
  • Uses of UiElement in com.workfusion.rpa.helpers

    Methods in com.workfusion.rpa.helpers that return UiElement
    Modifier and Type
    Method
    Description
    static UiElement
    RPA.$(com.workfusion.rpa.internal.api.element.WebElement webElement)
    Wraps standard Selenium WebElement into UiElement to use additional methods like shouldHave(), selectOption(), etc.
    static UiElement
    RPA.$(String cssSelector)
    Finds the first element matching given CSS selector
    static UiElement
    RPA.$(String cssSelector, int index)
    Finds the Nth element matching given criteria
    static UiElement
    RPA.$(org.openqa.selenium.By seleniumSelector)
    Finds the first element matching given descriptor
    static UiElement
    RPA.$(org.openqa.selenium.By seleniumSelector, int index)
    Driver Type: Desktop, Web
    UiElement.$(String cssSelector)
    Driver Type: Desktop, Web
    UiElement.$(String cssSelector, int index)
    Driver Type: Desktop, Web
    UiElement.$(org.openqa.selenium.By selector)
    Driver Type: Desktop, Web
    UiElement.$(org.openqa.selenium.By selector, int index)
    Driver Type: Desktop, Web
    UiElement.append(Object text)
    Append given text to the text field.
    UiElement.click(int clicks)
    Click the element number of times
    UiElement.click(int offsetX, int offsetY)
    Left-click the element at a point offset from its TOP-LEFT corner.
    UiElement.click(int clicks, int offsetX, int offsetY)
    Left-click the element a given number of times at a point offset from its TOP-LEFT corner.
    UiElement.closest(String tagOrClass)
    Find closes ancestor element matching given criteria.
    UiElement.contextClick()
    Click with right mouse button on this element
    UiElement.contextClick(int offsetX, int offsetY)
    Right-click (context-click) the element at a point offset from its TOP-LEFT corner.
    UiElement.doubleClick()
    Double click the element
    UiElement.doubleClick(int offsetX, int offsetY)
    Double-click the element at a point offset from its TOP-LEFT corner.
    UiElement.find(String cssSelector)
    Find the first matching element inside given element
    UiElement.find(String cssSelector, int index)
    Find the Nth matching element inside given element
    UiElement.find(org.openqa.selenium.By selector)
    Find the first matching element inside given element
    UiElement.find(org.openqa.selenium.By selector, int index)
    Find the Nth matching element inside given element
    UiElementCollection.find(com.workfusion.rpa.helpers.conditionsnative.UiCondition condition)
    Returns the first element that matches the given condition.
    UiElementCollection.findBy(com.workfusion.rpa.helpers.conditionsnative.UiCondition condition)
    Synonym for UiElementCollection.find(UiCondition); reads more naturally in some chains.
    UiElementCollection.first()
     
    UiElementCollection.get(int index)
    Returns the element at the given position in the collection.
    static UiElement
    RPA.getElement(org.openqa.selenium.By criteria)
    Finds the first element matching given criteria
    static UiElement
    RPA.getElement(org.openqa.selenium.By criteria, int index)
    Finds the Nth element matching given criteria
    static UiElement
    Returns the currently focused UiElement, that is, the element that will get keystroke events if the user types any.
    UiElement.getSelectedOption()
    Find selected option from this select field
    UiElement.hover()
    Emulate "mouseOver" event.
    UiElementCollection.last()
     
    UiElement.parent()
    Get parent element of this element For example, $("td").parent() could give some "tr".
    UiElement.pressBackSpace()
    Press BACK_SPACE.
    UiElement.pressCtrlA()
    Send CTRL+A.
    UiElement.pressCtrlC()
    Send CTRL+C.
    UiElement.pressCtrlShiftZ()
    Send CTRL+SHIFT+Z.
    UiElement.pressCtrlV()
    Send CTRL+V.
    UiElement.pressCtrlX()
    Send CTRL+X.
    UiElement.pressCtrlZ()
    Send CTRL+Z.
    UiElement.pressEnter()
    Press ENTER.
    UiElement.pressEscape()
    Press ESCAPE.
    UiElement.pressSpace()
    Press SPACE.
    UiElement.pressTab()
    Press TAB.
    UiElement.scrollDown(int times)
    Moves mouse cursor to the center of element and scrolls down number of times.
    UiElement.scrollTo()
    Ask browser to scroll to this element
    UiElement.scrollUp(int times)
    Moves mouse cursor to the center of element and scrolls up number of times.
    UiElement.selectOption(int index)
    Select an option from dropdown list (by index)
    UiElement.selectOption(String text)
    Select an option from dropdown list (by text)
    UiElement.selectOptionByValue(String value)
    Select an option from dropdown list (by value)
    UiElement.sendKeys(Object text)
    Types the given value into the element, converting it to text first.
    UiElement.sendKeysWithFocus(Object text)
    It scrolls to the element, moves cursor to it and then performs sendKeys.
    UiElement.setSelected(boolean selected)
    Set checkbox/radio state to CHECKED or UNCHECKED.
    UiElement.setText(Object text)
    Sets given text to a text field
    UiElement.setValue(Object text)
    Clear the text field and enter given text.
    UiElement.should(com.workfusion.rpa.helpers.conditionsnative.UiCondition condition)
    Checks that given element meets all of given conditions.
    UiElement.should(com.workfusion.rpa.helpers.conditionsnative.UiCondition... conditions)
    Checks that the element meets all of the given conditions immediately (no waiting).
    UiElement.should(com.workfusion.rpa.helpers.conditionsnative.UiCondition condition1, com.workfusion.rpa.helpers.conditionsnative.UiCondition condition2)
    Checks that the element meets both of the given conditions immediately (no waiting).
    UiElement.shouldBe(com.workfusion.rpa.helpers.conditionsnative.UiCondition condition)
    Synonym for should(UiCondition) reading as "be"; checked immediately.
    UiElement.shouldBe(com.workfusion.rpa.helpers.conditionsnative.UiCondition... conditions)
    UiElement.shouldHave(com.workfusion.rpa.helpers.conditionsnative.UiCondition condition)
    Synonym for should(UiCondition) reading as "have"; checked immediately.
    UiElement.shouldHave(com.workfusion.rpa.helpers.conditionsnative.UiCondition... conditions)
    UiElement.shouldNot(com.workfusion.rpa.helpers.conditionsnative.UiCondition condition)
    Checks that the element does NOT meet the given condition immediately (no waiting).
    UiElement.shouldNot(com.workfusion.rpa.helpers.conditionsnative.UiCondition... conditions)
    Checks that given element does not meet given conditions.
    UiElement.shouldNotBe(com.workfusion.rpa.helpers.conditionsnative.UiCondition condition)
    Synonym for shouldNot(UiCondition) reading as "not be"; checked immediately.
    UiElement.shouldNotBe(com.workfusion.rpa.helpers.conditionsnative.UiCondition... conditions)
    UiElement.shouldNotHave(com.workfusion.rpa.helpers.conditionsnative.UiCondition condition)
    Synonym for shouldNot(UiCondition) reading as "not have"; checked immediately.
    UiElement.shouldNotHave(com.workfusion.rpa.helpers.conditionsnative.UiCondition... conditions)
    UiElement.singleClick()
    Single click the element.
    UiElement.singleClick(int offsetX, int offsetY)
    Single click the element.
    UiElement.text(Object text)
    Driver Type: Desktop, Web
    UiElement.tripleClick()
    Triple click the element
    UiElement.tripleClick(int offsetX, int offsetY)
    Triple-click the element at a point offset from its TOP-LEFT corner.
    UiElement.val(Object text)
    Driver Type: Desktop, Web
    UiElement.waitUntil(com.workfusion.rpa.helpers.conditionsnative.UiCondition condition)
    Wait until given element meets given conditions.
    UiElement.waitUntil(com.workfusion.rpa.helpers.conditionsnative.UiCondition condition, long timeoutMilliseconds)
    Wait until given element meets given conditions.
    UiElement.waitUntil(com.workfusion.rpa.helpers.conditionsnative.UiCondition condition, long timeoutMilliseconds, long pollingIntervalMilliseconds)
    Wait until given element meets given conditions.
    UiElement.waitWhile(com.workfusion.rpa.helpers.conditionsnative.UiCondition condition)
    Wait while given element meets given conditions.
    UiElement.waitWhile(com.workfusion.rpa.helpers.conditionsnative.UiCondition condition, long timeoutMilliseconds)
    Wait while given element meets given conditions.
    UiElement.waitWhile(com.workfusion.rpa.helpers.conditionsnative.UiCondition condition, long timeoutMilliseconds, long pollingIntervalMilliseconds)
    Wait while given element meets given conditions.
    UiElement.wheelClick()
    Wheel click on the element
    UiElement.wheelClick(int offsetX, int offsetY)
    Middle-button (wheel) click the element at a point offset from its TOP-LEFT corner.
    Methods in com.workfusion.rpa.helpers that return types with arguments of type UiElement
    Modifier and Type
    Method
    Description
    UiElementCollection.iterator()
     
    UiElementCollection.listIterator()
     
    UiElementCollection.listIterator(int index)
    Returns a list iterator over the elements of this collection, starting at the given position.