IApp.SwipeLeftToRight Method

Definition

Overloads

SwipeLeftToRight(Func<AppQuery,AppWebQuery>, Double, Int32, Boolean)

Performs a left to right swipe gesture on an element matched by 'query'.

SwipeLeftToRight(String, Double, Int32, Boolean)

Performs a left to right swipe gesture on the matching element. If multiple elements are matched, the first one will be used.

SwipeLeftToRight(Double, Int32, Boolean)

Performs a left to right swipe gesture.

SwipeLeftToRight(Func<AppQuery,AppQuery>, Double, Int32, Boolean)

Performs a left to right swipe gesture on an element matched by 'query'.

SwipeLeftToRight(Func<AppQuery,AppWebQuery>, Double, Int32, Boolean)

Performs a left to right swipe gesture on an element matched by 'query'.

public void SwipeLeftToRight (Func<Xamarin.UITest.Queries.AppQuery,Xamarin.UITest.Queries.AppWebQuery> query, double swipePercentage = 0.67, int swipeSpeed = 500, bool withInertia = true);
abstract member SwipeLeftToRight : Func<Xamarin.UITest.Queries.AppQuery, Xamarin.UITest.Queries.AppWebQuery> * double * int * bool -> unit
Public Sub SwipeLeftToRight (query As Func(Of AppQuery, AppWebQuery), Optional swipePercentage As Double = 0.67, Optional swipeSpeed As Integer = 500, Optional withInertia As Boolean = true)

Parameters

query
Func<AppQuery,AppWebQuery>

Entry point for the fluent API to specify the element.

swipePercentage
Double

How far across the element to swipe (from 0.0 to 1.0).

swipeSpeed
Int32

The speed of the gesture.

withInertia
Boolean

Whether swipes should cause inertia.

Applies to

SwipeLeftToRight(String, Double, Int32, Boolean)

Performs a left to right swipe gesture on the matching element. If multiple elements are matched, the first one will be used.

public void SwipeLeftToRight (string marked, double swipePercentage = 0.67, int swipeSpeed = 500, bool withInertia = true);
abstract member SwipeLeftToRight : string * double * int * bool -> unit
Public Sub SwipeLeftToRight (marked As String, Optional swipePercentage As Double = 0.67, Optional swipeSpeed As Integer = 500, Optional withInertia As Boolean = true)

Parameters

marked
String

Marked selector to match. See Marked(String) for more information.

swipePercentage
Double

How far across the element to swipe (from 0.0 to 1.0).

swipeSpeed
Int32

The speed of the gesture.

withInertia
Boolean

Whether swipes should cause inertia.

Applies to

SwipeLeftToRight(Double, Int32, Boolean)

Performs a left to right swipe gesture.

public void SwipeLeftToRight (double swipePercentage = 0.67, int swipeSpeed = 500, bool withInertia = true);
abstract member SwipeLeftToRight : double * int * bool -> unit
Public Sub SwipeLeftToRight (Optional swipePercentage As Double = 0.67, Optional swipeSpeed As Integer = 500, Optional withInertia As Boolean = true)

Parameters

swipePercentage
Double

How far across the screen to swipe (from 0.0 to 1.0).

swipeSpeed
Int32

The speed of the gesture.

withInertia
Boolean

Whether swipes should cause inertia.

Applies to

SwipeLeftToRight(Func<AppQuery,AppQuery>, Double, Int32, Boolean)

Performs a left to right swipe gesture on an element matched by 'query'.

public void SwipeLeftToRight (Func<Xamarin.UITest.Queries.AppQuery,Xamarin.UITest.Queries.AppQuery> query, double swipePercentage = 0.67, int swipeSpeed = 500, bool withInertia = true);
abstract member SwipeLeftToRight : Func<Xamarin.UITest.Queries.AppQuery, Xamarin.UITest.Queries.AppQuery> * double * int * bool -> unit
Public Sub SwipeLeftToRight (query As Func(Of AppQuery, AppQuery), Optional swipePercentage As Double = 0.67, Optional swipeSpeed As Integer = 500, Optional withInertia As Boolean = true)

Parameters

query
Func<AppQuery,AppQuery>

Entry point for the fluent API to specify the element.

swipePercentage
Double

How far across the element to swipe (from 0.0 to 1.0).

swipeSpeed
Int32

The speed of the gesture.

withInertia
Boolean

Whether swipes should cause inertia.

Applies to