Uses of Class
com.workfusion.rpa.helpers.UiElement
Packages that use UiElement
-
Uses of UiElement in com.workfusion.rpa.helpers
Methods in com.workfusion.rpa.helpers that return UiElementModifier and TypeMethodDescriptionstatic UiElementRPA.$(com.workfusion.rpa.internal.api.element.WebElement webElement) Wraps standard Selenium WebElement into UiElement to use additional methods like shouldHave(), selectOption(), etc.static UiElementFinds the first element matching given CSS selectorstatic UiElementFinds the Nth element matching given criteriastatic UiElementRPA.$(org.openqa.selenium.By seleniumSelector) Finds the first element matching given descriptorstatic UiElementRPA.$(org.openqa.selenium.By seleniumSelector, int index) Driver Type: Desktop, WebDriver Type: Desktop, WebDriver Type: Desktop, WebUiElement.$(org.openqa.selenium.By selector) Driver Type: Desktop, WebUiElement.$(org.openqa.selenium.By selector, int index) Driver Type: Desktop, WebAppend given text to the text field.UiElement.click(int clicks) Click the element number of timesUiElement.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.Find closes ancestor element matching given criteria.UiElement.contextClick()Click with right mouse button on this elementUiElement.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 elementUiElement.doubleClick(int offsetX, int offsetY) Double-click the element at a point offset from its TOP-LEFT corner.Find the first matching element inside given elementFind the Nth matching element inside given elementUiElement.find(org.openqa.selenium.By selector) Find the first matching element inside given elementUiElement.find(org.openqa.selenium.By selector, int index) Find the Nth matching element inside given elementUiElementCollection.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 forUiElementCollection.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 UiElementRPA.getElement(org.openqa.selenium.By criteria) Finds the first element matching given criteriastatic UiElementRPA.getElement(org.openqa.selenium.By criteria, int index) Finds the Nth element matching given criteriastatic UiElementRPA.getFocusedElement()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 fieldUiElement.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 elementUiElement.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)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.Sets given text to a text fieldClear 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 forshould(UiCondition)reading as "be"; checked immediately.UiElement.shouldBe(com.workfusion.rpa.helpers.conditionsnative.UiCondition... conditions) Synonym forshould(UiCondition...)}.UiElement.shouldHave(com.workfusion.rpa.helpers.conditionsnative.UiCondition condition) Synonym forshould(UiCondition)reading as "have"; checked immediately.UiElement.shouldHave(com.workfusion.rpa.helpers.conditionsnative.UiCondition... conditions) Synonym forshould(UiCondition...)}.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 forshouldNot(UiCondition)reading as "not be"; checked immediately.UiElement.shouldNotBe(com.workfusion.rpa.helpers.conditionsnative.UiCondition... conditions) Synonym forshouldNot(UiCondition...).UiElement.shouldNotHave(com.workfusion.rpa.helpers.conditionsnative.UiCondition condition) Synonym forshouldNot(UiCondition)reading as "not have"; checked immediately.UiElement.shouldNotHave(com.workfusion.rpa.helpers.conditionsnative.UiCondition... conditions) Synonym forshouldNot(UiCondition...).UiElement.singleClick()Single click the element.UiElement.singleClick(int offsetX, int offsetY) Single click the element.Driver Type: Desktop, WebUiElement.tripleClick()Triple click the elementUiElement.tripleClick(int offsetX, int offsetY) Triple-click the element at a point offset from its TOP-LEFT corner.Driver Type: Desktop, WebUiElement.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 elementUiElement.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 UiElementModifier and TypeMethodDescriptionUiElementCollection.iterator()UiElementCollection.listIterator()UiElementCollection.listIterator(int index) Returns a list iterator over the elements of this collection, starting at the given position.