Custom swipe approach in Espresso

Updated 31 May 2019

Save

In espresso, some times the swipe functionality not works like for “Swipeleft”, “swiperight”,”swipeup”,”swipedown”,”swipeup”.

so for this problem we can create a custom swipe to swipe up , down , left and right.

1. Swipe Up :-

Swipe up used to custom swipe the page upward using the id of any element.

usage:-

 

2. Swipe Down :-

Swipe down used to custom swipe the page downward direction using the id of any element.

usage :-

 

3. Swipe Left :-

Swipe left used to custom swipe the page leftward direction using the id of any element.

usage :-

 

4. Swipe Right :-

Swipe left used to custom swipe the page rightward direction using the id of any element.

usage :-

 

So in this way, we can create a custom swipe approach in espresso when the swipe doesn’t work.

Hope this blog will help you.

Thanks for readingĀ  : )

 

 

 

 

 

 

 

author
. . .

Leave a Comment

Your email address will not be published. Required fields are marked*


Be the first to comment.

Start a Project


    Message Sent!

    If you have more details or questions, you can reply to the received confirmation email.

    Back to Home