Request for Mobile: add scrollToElement

Problem
We have a feature that spans multiple screens and thus has a scroll bar. This feature has tabs that when you click on them load the content of that tab. We want to easily navigate to tabs that may or may not be visible on the screen by scrolling through the screen to find the tab and then clicking on it. As of now we are using Mobile.scrollToText() to look for the title on the tab which works in most cases, but it is not robust because if the title of the tab is found else where in the screen it will fail. We would thus like to replace this with scrollToElement which i believe is featured in UIAutomator2
Feature request
Add scrollToElement to mobile. Currently only supported on Web: WebUI.scrollToElement()
Thoughts on how to implement
For Android: UiScrollable  |  Android Developers
Unsure for IOS
How would your work be affected if this issue has not been resolved?
3. I can continue my job, but my performance is lower than expected

2 Likes