I have a scenario where i had to drag and drop the columns. However, i tried below commands but none of them are working
browser.actions().mouseDown(elements).perform();
browser.actions().mouseMove({x:20, y:120}).perform();
browser.actions().mouseDown(elements).perform();
browser.actions().mouseMove({x:20, y:120}).perform();
browser.actions().mouseUp().perform();
browser.actions().dragAndDrop(elements,{x:20 , y:120}).mouseMove(elements).perform();
browser.actions().dragAndDrop(elements,a).mouseUp().perform()
The command just highlights the column but doesn't drag to the location.