Currently, I'm working on Snapchat and I want to scroll the screen slightly
1.device.vc.dump()
2.device.vc.findViewByIdOrRaise("com.snapchat.android:id/neon_header_avatar_container").touch()
3.device.vc.dump()
Now I want to scroll the screen to findViewWithText My friends. so how I can do it,
You can use
culebraand generate the python code needed for scrolling or dragging.Run
then right-click and open the command dialog, select Drag dialog and grab the points clicking on the device image (using Settings here as an example)
something like the following code will be generated
When executed you will see the device scrolling.