Below is the code I am using, it will access one public website which is written using Html5,the code is trying to drag the "One" to trashbin, but it doesn't do anything. Is there any workaround to make it work? Thanks in advance!
FirefoxProfile profile = new FirefoxProfile();
profile.setEnableNativeEvents(true);
WebDriver driver = new FirefoxDriver(profile);
driver.get("http://html5demos.com/drag");
WebElement draggable = driver.findElement(By.id("one"));
WebElement droppable = driver.findElement(By.id("bin"));
new Actions(driver).dragAndDrop(draggable, droppable).build().perform();
Additional information is:
Selenium version: 2.25.0 OS: Mac OS Lion Browser: Firefox Browser version: 10.0.2 and 14.0.1