Troubleshooting scroll/swipe
Â
1 - Swipes don’t always go to the same location
By default, it lasts 500 milliseconds.
Solution : To be sure to arrive at the same place, you can increase this time with a fourth parameter.
For example, the line swipeVertical,90,10,50,1000
swipes from the point A (X:90Â %, Y:50%) to the point B (X:10Â %, Y:50%) during 1000 milliseconds or 1 second.
2 - The command scrollDownwardUntilEnd doesn’t scroll until the end of the page
This may be linked to the following factors:
Maximum number of scrolls reached
Scrollable element that does not go to the bottom of the page
Numerous videos being launched when you scroll
Solution : Use the swipeVertical function several times instead.