selenium, capybara, and cucumber testing drag and drop reordering
try to use actions builder selenium API
Actions builder = new Actions(driver); Action dragAndDrop = builder.clickAndHold(someElement) .moveToElement(otherElement) .release(otherElement) .build(); dragAndDrop.perform();
some additional info you can get here .Hope this works for you)