You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add actions that allows to drag elements on a page:
varitemToDrag=Target.The("item to drag").LocatedBy(By.Id("item"));vardrop=Target.The("Drop target").LocatedBy(By.Id("drop"));varaction=Drag.Target(itemToDrag).AndDropTo(drop);Actor.Given(action);
Drag target and drop to other target: Drag.Target(itemToDrag).To(drop)
Drag target and drop to other target by moving the cursor by steps: Drag.Target(itemToDrag).ToByMovingCursor(target)
Drag target, move x pixels and drop: Drag.Target(itemToDrag).ToByOffset(100, 50)
The text was updated successfully, but these errors were encountered:
Add actions that allows to drag elements on a page:
Drag.Target(itemToDrag).To(drop)
Drag.Target(itemToDrag).ToByMovingCursor(target)
Drag.Target(itemToDrag).ToByOffset(100, 50)
The text was updated successfully, but these errors were encountered: