Package core.helpers

Class ElementActionHelper

java.lang.Object
core.helpers.ElementActionHelper

public class ElementActionHelper extends Object
  • Constructor Details

    • ElementActionHelper

      public ElementActionHelper()
  • Method Details

    • hoverBy

      public static void hoverBy(EnhancedBy by, int index)
      hover over element
      Parameters:
      by -
    • inputTextByAction

      public static void inputTextByAction(EnhancedBy by, String text)
    • doubleClickBy

      public static void doubleClickBy(EnhancedBy by)
    • hoverPoints

      public static void hoverPoints(int x, int y)
      Hover on the x,y points Reset mouse position to 0,0 after hover action is complete with Helper.click.resetMouse(x, y);
      Parameters:
      x -
      y -
    • moveToElement

      public static void moveToElement(EnhancedBy target, int index)
      move to element by using action
      Parameters:
      target -
      index -
    • moveToElement

      public static void moveToElement(EnhancedBy target, int index, int xOffset, int yOffset)
      move to element by using action
      Parameters:
      target -
      index -