Custom scroll approach in (Espresso)

Save

How to do “Custom scroll” when “swipe ” and “scrollto” approach not work in Espresso?

In espresso when we have to scroll to any of the element and in that page if the code having nested scroll then “swipeup()”, “swipedown()” and “scrollto()” approach may not work at some time.

So here is the solution where we can scroll to the desired position of element which is not currently displaying on screen but will be displayed on scroll.

 

 

After this we have to use “custom scroll” like this :-

1) For matching text of element and scroll.

2) When searching on the basis of id and scroll.

3) When searching on the basis of string and scroll.

 

 

 

. . .

Leave a Comment

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


2 comments

  • Zess
    Just what I needed! Thanks
    • S.Johnson (Moderator)
      welcome.
  • css.php

    All communication is done through a ticket system. I appreciate the regular almost daily updates of what is being worked on, and communicating changes or updates is easy through this system. Mobikul's response timeframe is quick.

    Josh Arnold

    Josh Arnold

    Owner, Shop ATV Escape

    Talk to Sales

    Global

    Live Chat
    Start a Project


      Message Sent!

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

      Back to Home