How to use "mobile:scrollBackTo" with uiAutomator2

Anyone have any idea on how to use “mobile:scrollBackTo” this mobile command with proper syntax.?
if yes, share any sample code

Hi, did you find any solution?

not yet…

By any luck got any solutions for this? If not how you guys are using scroll in android app

for scrolling you can use press and move by co-ordinates or you can use UIScrollable class of Android
refer this :

1 Like