public void ElementInDiv() { driver.Url = dragAndDropPage; IWebElement img = driver.FindElement(By.Id("test3")); Point expectedLocation = drag(img, img.Location, 100, 100); Assert.AreEqual(expectedLocation, img.Location); }