Drag

This method is used to drag the element from source to the destination locations which we mention. You can directly provide the locator as string or as WebElement.


Syntax :

s.Drag("sourceString").Drop("destinationString");
s.Drag("sourceWebElement").Drop("destinationWebElement");