I have performed drag and drop on unlayer web site and all positive combination I have used. but drap and drop not working.
We have tried following code with selenium 4.
@Test()
public void test() throws InterruptedException {
driver.get("https://dashboard.unlayer.com/create/blank?_gl=1*afclpx*_ga*NzU0NTMwNzU3LjE2NzYzMTAyOTk.*_ga_VMP9QH8KW8*MTY3NjMxMDI5OC4xLjEuMTY3NjMxMDMwOS41OC4wLjA.");
Thread.sleep(9000);
driver.switchTo().frame(0);
Thread.sleep(9000);
//driver.findElement(By.xpath("//div [text ()='Text']"));
WebElement source = driver.findElement(By.xpath("//div [text ()='Text']"));
//source.click();
Thread.sleep(9000);
WebElement target = driver.findElement(By.xpath("//div[text()='No content here. Drag content from right.']"));
System.out.println("target");
System.out.println("target= "+target.getText());
Thread.sleep(5000);
Actions a = new Actions(driver);
Thread.sleep(5000);
//a.clickAndHold(source).moveToElement(target).release().build().perform();
//a.clickAndHold(target);
//a.dragAndDrop(source, target);
//a.moveToElement(target);
a.click(source);
System.out.println("Click on="+"source");
Thread.sleep(5000);
a.release(target);
a.click(target);
System.out.println("Click on="+"target");
}