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