Package core.helpers
Class ElementActionHelper
java.lang.Object
core.helpers.ElementActionHelper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidstatic voidhoverBy(EnhancedBy by, int index) hover over elementstatic voidhoverPoints(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);static voidinputTextByAction(EnhancedBy by, String text) static voidmoveToElement(EnhancedBy target, int index) move to element by using actionstatic voidmoveToElement(EnhancedBy target, int index, int xOffset, int yOffset) move to element by using action
-
Constructor Details
-
ElementActionHelper
public ElementActionHelper()
-
-
Method Details
-
hoverBy
hover over element- Parameters:
by-
-
inputTextByAction
-
doubleClickBy
-
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
move to element by using action- Parameters:
target-index-
-
moveToElement
move to element by using action- Parameters:
target-index-
-