def scroll_to(text, scrollable_index = 0)
      text = %("#{text}")
      rid  = resource_id(text, "new UiSelector().resourceId(#{text})")
      args = rid.empty? ? ["new UiSelector().textContains(#{text})", "new UiSelector().descriptionContains(#{text})"] : [rid]
      args.each_with_index do |arg, index|
        begin
          elem = find_element :uiautomator, scroll_uiselector(arg, scrollable_index)
          return elem
        rescue StandardError => e
          raise e if index == args.size - 1
        end
      end
    end
def scroll_to(text, scrollable_index = 0)
      text = %("#{text}")
      rid  = resource_id(text, "new UiSelector().resourceId(#{text})")
      args = rid.empty? ? ["new UiSelector().textContains(#{text})", "new UiSelector().descriptionContains(#{text})"] : [rid]
      args.each_with_index do |arg, index|
        begin
          elem = find_element :uiautomator, scroll_uiselector(arg, scrollable_index)
          return elem
        rescue StandardError => e
          raise e if index == args.size - 1
        end
      end
    end
Scroll to the first element containing target text or description.
 @param text [String] the text or resourceId to search for in the text value and content description
 @param scrollable_index [Integer] the index for scrollable views.
 @return [Element] the element scrolled to