Uses of Class
com.shaft.gui.element.internal.Actions

Packages that use Actions
  • Uses of Actions in com.shaft.driver

    Methods in com.shaft.driver that return Actions
    Modifier and Type
    Method
    Description
    SHAFT.GUI.WebDriver.element()
     
  • Uses of Actions in com.shaft.driver.internal

    Methods in com.shaft.driver.internal that return Actions
    Modifier and Type
    Method
    Description
    FluentWebDriverAction.element()
     
    FluentWebDriverAction.performElementAction()
     
  • Uses of Actions in com.shaft.gui.element

    Methods in com.shaft.gui.element that return Actions
    Modifier and Type
    Method
    Description
    ElementActions.and()
     
    ElementActions.captureScreenshot(org.openqa.selenium.By elementLocator)
     
    ElementActions.clear(org.openqa.selenium.By elementLocator)
    Clears the value of the target element.
    ElementActions.click(org.openqa.selenium.By elementLocator)
    Clicks on a certain element using Selenium WebDriver, or JavaScript
    ElementActions.clickAndHold(org.openqa.selenium.By elementLocator)
    Waits for the element to be clickable, and then clicks and holds it.
    ElementActions.clickUsingJavascript(org.openqa.selenium.By elementLocator)
    Clicks on certain element using javaScript only
    ElementActions.clipboardActions(org.openqa.selenium.By elementLocator, ClipboardAction action)
    Deprecated, for removal: This API element is subject to removal in a future version.
    ElementActions.doubleClick(org.openqa.selenium.By elementLocator)
    Double-clicks on an element using Selenium WebDriver's Actions Library
    ElementActions.dragAndDrop(org.openqa.selenium.By sourceElementLocator, org.openqa.selenium.By destinationElementLocator)
    Drags the source element and drops it onto the destination element
    ElementActions.dragAndDropByOffset(org.openqa.selenium.By sourceElementLocator, int xOffset, int yOffset)
    Drags the source element and drops it onto the determined offset
    ElementActions.executeNativeMobileCommand(String command, Map<String,String> parameters)
    This is a generic method to enable the execution of the native mobile commands found herein: appium.io
    ElementActions.hover(org.openqa.selenium.By elementLocator)
    Hovers over target element.
    ElementActions.hoverAndClick(List<org.openqa.selenium.By> hoverElementLocators, org.openqa.selenium.By clickableElementLocator)
    Hovers over the hoverElements in sequence then clicks the clickableElement
    ElementActions.scrollToElement(org.openqa.selenium.By elementLocator)
    If the element is outside the viewport, scrolls the bottom of the element to the bottom of the viewport.
    ElementActions.select(org.openqa.selenium.By elementLocator, String valueOrVisibleText)
    Selects an element from a dropdown list using its displayed text or attribute Value
    ElementActions.setValueUsingJavaScript(org.openqa.selenium.By elementLocator, String value)
    Used to SetProperty value for an element (hidden or visible) using javascript
    ElementActions.submitFormUsingJavaScript(org.openqa.selenium.By elementLocator)
    Used to submit a form using javascript
    ElementActions.switchToDefaultContent()
    Switches focus to default content, is mainly used in coordination with ElementActions.switchToIframe(By) to exit any iFrame layer and go back to the main page
    ElementActions.switchToIframe(org.openqa.selenium.By elementLocator)
    Switches focus to a certain iFrame, is mainly used in coordination with ElementActions.switchToDefaultContent() to navigate inside any iFrame layer and go back to the main page
    ElementActions.type(org.openqa.selenium.By elementLocator, CharSequence... text)
    Types the provided text into the target element, replacing any existing value.
    ElementActions.typeAppend(org.openqa.selenium.By elementLocator, CharSequence... text)
    Appends the required string into the target element, regardless of the current text value.
    ElementActions.typeFileLocationForUpload(org.openqa.selenium.By elementLocator, String filePath)
    ValidationEnums the required file path into an input[type='file'] button, to successfully upload the target file.
    ElementActions.typeSecure(org.openqa.selenium.By elementLocator, CharSequence... text)
    Checks if there is any text in an element, clears it, then types the required string into the target element.
    ElementActions.waitUntilAttributeContains(org.openqa.selenium.By elementLocator, String attribute, String attributeContainsValue)
    Deprecated, for removal: This API element is subject to removal in a future version.
    ElementActions.waitUntilElementTextToBe(org.openqa.selenium.By elementLocator, String text)
    Deprecated, for removal: This API element is subject to removal in a future version.
    ElementActions.waitUntilElementToBeSelected(org.openqa.selenium.By elementLocator)
    Deprecated, for removal: This API element is subject to removal in a future version.
    ElementActions.waitUntilNumberOfElementsToBe(org.openqa.selenium.By elementLocator, int numberOfElements)
    Deprecated, for removal: This API element is subject to removal in a future version.
    ElementActions.waitUntilNumberOfElementsToBeLessThan(org.openqa.selenium.By elementLocator, int numberOfElements)
    Deprecated, for removal: This API element is subject to removal in a future version.
    ElementActions.waitUntilNumberOfElementsToBeMoreThan(org.openqa.selenium.By elementLocator, int numberOfElements)
    Deprecated, for removal: This API element is subject to removal in a future version.
    ElementActions.waitUntilPresenceOfAllElementsLocatedBy(org.openqa.selenium.By elementLocator)
    Deprecated, for removal: This API element is subject to removal in a future version.
  • Uses of Actions in com.shaft.gui.element.internal

    Modifier and Type
    Method
    Description
    Actions.and()
     
    Actions.clear(@NonNull org.openqa.selenium.By locator)
     
    Actions.click(@NonNull String elementName)
    Clicks a clickable element resolved by its visible label or accessible name.
    Actions.click(@NonNull org.openqa.selenium.By locator)
     
    Actions.clickAndHold(@NonNull org.openqa.selenium.By locator)
     
    Actions.clickUsingJavascript(@NonNull org.openqa.selenium.By locator)
     
    Actions.ClipboardAction.copyAll(@NonNull org.openqa.selenium.By locator)
    Selects all text inside the located element and copies it to the system clipboard (Ctrl+A, Ctrl+C).
    Actions.ClipboardAction.cutAll(@NonNull org.openqa.selenium.By locator)
    Selects all text inside the located element, cuts it to the system clipboard (Ctrl+A, Ctrl+X), and leaves the field empty.
    Actions.ClipboardAction.deleteAll(@NonNull org.openqa.selenium.By locator)
    Selects all text inside the located element and deletes it (Ctrl+A, Backspace).
    Actions.doubleClick(@NonNull org.openqa.selenium.By locator)
     
    Actions.dragAndDrop(@NonNull org.openqa.selenium.By sourceElementLocator, @NonNull org.openqa.selenium.By destinationElementLocator)
     
    Actions.dragAndDropByOffset(@NonNull org.openqa.selenium.By sourceElementLocator, int xOffset, int yOffset)
     
    Actions.dropFileToUpload(@NonNull org.openqa.selenium.By locator, @NonNull String filePath)
    Uploads a file by simulating a drag-and-drop gesture onto the target drop zone.
    Actions.hover(@NonNull org.openqa.selenium.By locator)
     
    Actions.ClipboardAction.paste(@NonNull org.openqa.selenium.By locator)
    Pastes the current system clipboard contents into the located element (Ctrl+V).
    Actions.setValueUsingJavaScript(@NonNull org.openqa.selenium.By locator, @NonNull String value)
     
    Actions.type(@NonNull String elementName, @NonNull CharSequence... text)
    Types the given text into an input field resolved by its visible label or placeholder.
    Actions.type(@NonNull org.openqa.selenium.By locator, @NonNull CharSequence... text)
     
    Actions.typeAppend(@NonNull org.openqa.selenium.By locator, @NonNull CharSequence... text)
     
    Actions.typeSecure(@NonNull org.openqa.selenium.By locator, @NonNull CharSequence... text)
     
    Actions.waitUntil(@NonNull Function<? super org.openqa.selenium.WebDriver, ?> isTrue)
    Waits until the given condition returns true, using the framework's default element-identification timeout multiplied by ten seconds.
    Actions.waitUntil(@NonNull Function<? super org.openqa.selenium.WebDriver, ?> isTrue, @NonNull Duration timeout)
    Waits until the given condition returns true within the specified timeout.