in features/ios/Base/navigator.rb [26:43]
def navigate_to(category)
touch("* contentDescription:'#{get_app_name}'")
element = query("* id:'drawer_row_title' text:'#{category}'")
last_y_height = query("* id:'drawer_row_title'").last["rect"]["y"]
while element.empty?
scroll('recyclerview', :down)
next_y_height = query("* id:'drawer_row_title'").last['rect']['y']
element = query("* id:'drawer_row_title' text:'#{category}'")
if last_y_height == next_y_height
fail('You reached the end of the drawer list and category cannot be found')
end
end
touch("* id:'drawer_row_title' text:'#{category}'")
end