Operations.DragAndDrop

public static class DragAndDrop

internal implementation not be instantiated directly - Action of drag-and-drop

Constructors

DragAndDrop

public DragAndDrop(WebDriver driver, Path path)

Methods

to

public void to(Path target)

drag and drop to the given element’s location

Parameters:
  • target
    • the target(drop) element
Throws:

to

public void to(Integer x, Integer y)

drag and drop to the given coordinates

Parameters:
  • x – coordinates
  • y – coordinates
Throws: