diff --git a/dotnet/src/webdriver/Interactions/TouchActions.cs b/dotnet/src/webdriver/Interactions/TouchActions.cs index 15eda6f162f37..c2b0e19558d08 100644 --- a/dotnet/src/webdriver/Interactions/TouchActions.cs +++ b/dotnet/src/webdriver/Interactions/TouchActions.cs @@ -162,7 +162,7 @@ public TouchActions Flick(int speedX, int speedY) int offsetX = Convert.ToInt32(Math.Round(speedX * DefaultFlickDuration.TotalSeconds, 0)); int offsetY = Convert.ToInt32(Math.Round(speedY * DefaultFlickDuration.TotalSeconds, 0)); this.actionBuilder.AddAction(this.defaultTouchscreen.CreatePointerDown(MouseButton.Touch)); - this.actionBuilder.AddAction(this.defaultTouchscreen.CreatePointerMove(CoordinateOrigin.Viewport, offsetX, offsetX, DefaultFlickDuration)); + this.actionBuilder.AddAction(this.defaultTouchscreen.CreatePointerMove(CoordinateOrigin.Viewport, offsetX, offsetY, DefaultFlickDuration)); this.actionBuilder.AddAction(this.defaultTouchscreen.CreatePointerUp(MouseButton.Touch)); return this; }