Description
🐛 Bug Report
I am using Actions class for doing drag and drop via below methods:
dragAndDrop(From, To);
dragAndDropBy(From, X, Y);
clickAndHold(From).moveToElement(To).build().perform();
Source element is dragged correctly but not dropped at the locations specified by "To" / "X,Y"
Mac:Chrome: Dragged item is displayed along with the mouse pointer.
Win: Chrome: Nothing is displayed (Drag / drop)
Video of script execution with audio, please check
https://monosnap.com/file/28tj483msnno2lwMCZKZvvTdarGNEI
To Reproduce
Please find below script code
Test script or set of commands reproducing this issue
System.setProperty("webdriver.chrome.driver", "driver78");
driver = new ChromeDriver();
driver.get("https://www.seleniumeasy.com/test/drag-and-drop-demo.html");
From = driver.findElement(By.xpath("//div[@id='todrag']//span[text()='Draggable 1']"));
To = driver.findElement(By.xpath("//div[@id='mydropzone']"));
AppLibrary.sleep(3000);
Actions act = new Actions(driver);
act.dragAndDrop(From, To).build().perform();
AppLibrary.sleep(3000);
Actions act1 = new Actions(driver);
act1.clickAndHold(From).moveToElement(To).build().perform();
Environment
OS: Win, OS X
Browser: Chrome 77-78, FireFox 70
Language Bindings version: <2.53.0 - 4.0.0-alpha-3>