Selenium Java - Actions Class
What will be the result of the following code snippet?
Assuming the drag and drop is successful and the target element's text changes to "Dropped!" after drop, what is printed?
Actions actions = new Actions(driver);
WebElement source = driver.findElement(By.id("drag"));
WebElement target = driver.findElement(By.id("drop"));
actions.dragAndDrop(source, target).perform();
String text = target.getText();
System.out.println(text);Assuming the drag and drop is successful and the target element's text changes to "Dropped!" after drop, what is printed?
