lib/testcentricity_web/web_elements/ui_elements_helper.rb
def scroll_to(position)
      obj, type = find_element
      object_not_found_exception(obj, type)
      page.scroll_to(obj, align: position)
    end
# Scroll the object to its top, middle, or bottom
#
# @param position [Symbol] :top, :bottom, :center
# @example
#   cue_list.scroll_to(:bottom)
#
Scroll the object to its top, middle, or bottom
Scroll the object to its top middle or bottom
def scroll_to(position)
      obj, type = find_element
      object_not_found_exception(obj, type)
      page.scroll_to(obj, align: position)
    end
def scroll_to ( position ) obj , type = find_element object_not_found_exception ( obj , type ) page . scroll_to ( obj , align : position ) end
Scroll the object to its top, middle, or bottom
Scroll the object to its top middle or bottom
position
:top, :bottom, :center
: top : bottom : center
example
None