module TestCentricity class AppList < AppUIElement def initialize(name, parent, strategy, locator, context) super @type = :list end def get_item_count if Environ.device_os == :ios items = find_elements(class: 'XCUIElementTypeCell') else items = find_elements(class: 'android.widget.FrameLayout') end items.size end def get_list_items end def get_list_item(index) end end end