Read More
Read now

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

    Big thanks to Webkul and his team for helping get Opencart 3.0.3.7 release ready!

    Deniel Kerr

    Owner and Founder. Opencart

    Talk to Sales
    Start a Project

      Message Sent!

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

      Back to Home