public static class Operations.DragAndDrop extends Object
| Constructor and Description |
|---|
DragAndDrop(org.openqa.selenium.WebDriver driver,
Path path) |
| Modifier and Type | Method and Description |
|---|---|
void |
to(Integer x,
Integer y)
drag and drop to the given coordinates
|
void |
to(Path target)
drag and drop to the given element's location
|
public DragAndDrop(org.openqa.selenium.WebDriver driver,
Path path)
public void to(Path target) throws Operations.OperationFailedException
target - - the target(drop) elementOperations.OperationFailedException - operation failed. Typically includes the reason.public void to(Integer x, Integer y) throws Operations.OperationFailedException
x - coordinatesy - coordinatesOperations.OperationFailedException - operation failed. Typically includes the reason.Copyright © 2019. All rights reserved.