// Selenium issue #3604 @Test public void testDragAndDrop() throws WidgetException { wd.open(url); IInteractiveElement ie = new InteractiveElement(getDiv("draggableText")); IInteractiveElement destination = new InteractiveElement(getDiv("dropBox")); ie.waitForElementPresent(); destination.waitForElementPresent(); ie.dragAndDrop(destination); destination.waitForText(); Assert.assertEquals("dragged", destination.getText()); }