Selenium Java - Actions Class
Consider this code:
What will be the output if the drag and drop is visually successful and the target element remains visible?
Actions actions = new Actions(driver);
WebElement source = driver.findElement(By.cssSelector(".item"));
WebElement target = driver.findElement(By.cssSelector(".box"));
actions.clickAndHold(source).moveToElement(target).release().perform();
boolean displayed = target.isDisplayed();
System.out.println(displayed);What will be the output if the drag and drop is visually successful and the target element remains visible?
