public class ElementActionHelper extends Object
| Constructor and Description |
|---|
ElementActionHelper() |
| Modifier and Type | Method and Description |
|---|---|
protected static void |
doubleClickBy(EnhancedBy by) |
protected static void |
hoverBy(EnhancedBy by,
int index)
hover over element
|
protected 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);
|
protected static void |
inputTextByAction(EnhancedBy by,
String text) |
protected static void |
moveToElement(EnhancedBy target,
int index)
move to element by using action
|
protected static void |
moveToElement(EnhancedBy target,
int index,
int xOffset,
int yOffset)
move to element by using action
|
protected static void hoverBy(EnhancedBy by, int index)
by - protected static void inputTextByAction(EnhancedBy by, String text)
protected static void doubleClickBy(EnhancedBy by)
protected static void hoverPoints(int x,
int y)
x - y - protected static void moveToElement(EnhancedBy target, int index)
target - index - protected static void moveToElement(EnhancedBy target, int index, int xOffset, int yOffset)
target - index - Copyright © 2021. All rights reserved.