WebElement A = driver.findElement(By.className("###"));
Actions action = new Actions(driver);
action.dragAndDropBy(A, 400, 0).perform();