How do I count the number of similar MobileElements using UiScrollable?


I’m using Appium with Android. In my application, there are multiple FrameLayouts available with same resource id property and we need to find those elements by scroll operation.

How do I count number of such of Elements with scroll action? I used below code snippet, but it showing only the count of visible elements not all.


its true. you can’t see/count objects outside of screen with Android.