I have the list of elements(example 10) but the screen shows only 7 elements I need to scroll to 7th element to see the remaining 3 elements.
When I use the below snippet its not scrolling to the 7th element , not sure if its because the 7th element is visible
self.driver.find_element_by_android_uiautomator(
‘new UiScrollable(new UiSelector().resourceId(“com.android.settings:id/dashboard_tile”).instance(7)).scrollIntoView(new UiSelector().className(“android.widget.TextView”));’)