Reputation: 389
how can I drag and drop local file with selenium C#? It is possible?
Upvotes: 2
Views: 557
Reputation: 29
Yes it is possible in Selenium with C# for web element.you can use below code
Action.ClickAndHold(onElement);
Action.MoveToElement(toElement);
Action.Release(toElement);
Action.Build().Perform();
Upvotes: 1