src/main/java/com/xceptance/neodymium/util/SelenideAddons.java
/**
     * Drag and drop an element to a given position. The position will be set by the user. It drags the element and
     * moves it to a specific position of the respective element.
     * 
     * @param elementToMove
     *            The selector of the slider to drag and drop
     * @param horizontalMovement
     *            The offset for the horizontal movement
     * @param verticalMovement
     *            The offset for the vertical movement
     */
Drag and drop an element to a given position. The position will be set by the user. It drags the element and
moves it to a specific position of the respective element.

@param elementToMove
The selector of the slider to drag and drop
@param horizontalMovement
The offset for the horizontal movement
@param verticalMovement
The offset for the vertical movement
Drag and drop an element to a given position . The position will be set by the user . It drags the element and moves it to a specific position of the respective element . @param elementToMove The selector of the slider to drag and drop @param horizontalMovement The offset for the horizontal movement @param verticalMovement The offset for the vertical movement
public static void dragAndDrop(SelenideElement elementToMove, int horizontalMovement, int verticalMovement)
    {
        new Actions(Neodymium.getDriver()).dragAndDropBy(elementToMove.getWrappedElement(), horizontalMovement, verticalMovement).build().perform();
    }
public static void dragAndDrop ( SelenideElement elementToMove , int horizontalMovement , int verticalMovement ) { new Actions ( Neodymium . getDriver ( ) ) . dragAndDropBy ( elementToMove . getWrappedElement ( ) , horizontalMovement , verticalMovement ) . build ( ) . perform ( ) ; }
Drag and drop an element to a given position.
Drag and drop an element to a given position .
// perform drag and drop via the standard Selenium way