I am trying to drag an element into another element using Selenium WebDriver but it\'s not working. I tried all the solutions which I can find on internet but none of the so
Actions act = new Actions(driver); WebElement source = driver.findElement(By.id("XXX")); WebElement destination = driver.findElement(By.id("XXX")); Action dragAndDrop =act.moveToElement(source,destination).build().perform();