Selenium WebDriver - How to perform drag and drop in selenium 2.0?
Selenium WebDriver Interview question and Answers
(Continued from previous question...)
Selenium WebDriver - How to perform drag and drop in selenium 2.0?
WebElement source = driver.findElement(By.id("Source ElementID"));
WebElement destination = driver.findElement(By.id("Taget ElementID"));
Actions builder = new Actions(driver);
builder.dragAndDrop(source, destination ).perform();
(Continued on next question...)
Other Interview Questions
|