Check Mobile App
Read now
Start a Project

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

    Very good company, we did get app extension for Magento 2 website. The support was very good they help us through the process. Webkul team is very supportive, I would recommend them.

    Yasser Mohamed

    Yasser Mohamed

    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