Selenium Java - Actions Class
Given the following code snippet, what will be the result after execution?
If the drag and drop is successful, what should
WebElement source = driver.findElement(By.id("item1"));
WebElement target = driver.findElement(By.id("box1"));
Actions actions = new Actions(driver);
actions.clickAndHold(source).moveToElement(target).release().perform();
String text = target.getText();If the drag and drop is successful, what should
text contain?