title: Selenium Webdriver (C#): Drag and Drop executed but nothing happens
body: <p>I am unable to drag and drop the W3Schools image into the rectangle using the example code people have given before. I've tried Firefox, Chrome and IE webdrivers, nothing is happening.</p>
  
  <p>Firefox version 26.0</p>
  
  <p>Chrome version: 31.0.1650.63 m</p>
  
  <p>Internet Explorer version: 11</p>
  
  <pre><code>     FirefoxDriver browser = new FirefoxDriver(); //Open up a Firefox browser
  
       browser.Url = "http://www.w3schools.com/html/html5_draganddrop.asp";
       System.Threading.Thread.Sleep(5000); // Wait so I can see what's happening
       IWebElement imageToDragAndDrop = browser.FindElementById("drag1");
       IWebElement boxToDragImageInto = browser.FindElementById("div2");
  
       Actions actions = new Actions(browser);
  
       // Attempt 1: Calling the DragAndDrop method did not work
       // actions.DragAndDrop(imageToDragAndDrop, boxToDragImageInto).Build().Perform(); 
  
       // Attempt 2: Calling the DragAndDrop method again but with the method calls on separate lines
       //actions.DragAndDrop(imageToDragAndDrop, boxToDragImageInto);
       //actions.Build();
       //actions.Perform();
  
       // Attempt 3: Calling the ClickAndHold, MoveToElement, Release methods did not work either
       actions.ClickAndHold(imageToDragAndDrop);
       actions.MoveToElement(boxToDragImageInto);
       actions.Release(imageToDragAndDrop);
       actions.Build();
       actions.Perform();
  </code></pre>