public class PointOption<T extends PointOption<T>> extends ActionOptions<T>
| Modifier and Type | Field and Description |
|---|---|
protected org.openqa.selenium.Point |
coordinates |
| Constructor and Description |
|---|
PointOption() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.String,java.lang.Object> |
build()
Creates a map based on the provided options.
|
static PointOption |
point(int xOffset,
int yOffset)
It creates a built instance of
PointOption which takes x and y coordinates. |
protected void |
verify()
This method is automatically called before building
options map to verify the consistency of the instance.
|
T |
withCoordinates(int xOffset,
int yOffset)
It defines x and y coordinates.
|
public static PointOption point(int xOffset, int yOffset)
PointOption which takes x and y coordinates.
This is offset from the upper left corner of the screen.xOffset - is x value.yOffset - is y value.public T withCoordinates(int xOffset, int yOffset)
xOffset - is x value.yOffset - is y value.protected void verify()
ActionOptionsverify in class ActionOptions<T extends PointOption<T>>public java.util.Map<java.lang.String,java.lang.Object> build()
ActionOptionsbuild in class ActionOptions<T extends PointOption<T>>