????Drag and Drop?? ????????????????????ò??????? ??Selenium?У? ????OpenQA.Selenium.Interactions.Actions?????????????? ????????????????????????£?
????1. ???????????????-?(source)??
????2. ??????????????-???(target)?? ??????????????????????? ??????????????????????????
????3. ????(new Actions(IWebDriver)).DragAnddrop( source?? target).Perform()?? ??????????????
???????????
// drag and drop
using OpenQA.Selenium.Interactions;
SIE.InternetExplorerDriver driver = new SIE.InternetExplorerDriver();
if (source != null && target != null)
{
// drag and drop
new Actions(driver).DragAndDrop(source?? target).Perform();
}