lib/testcentricity_web/web_elements/ui_elements_helper.rb
# Hover at a specific location within an object
#
# @param x [Integer] X offset
# @param y [Integer] Y offset
# @param visible [Boolean, Symbol] Only find elements with the specified visibility:
#                                    * true - only finds visible elements.
#                                    * false - finds invisible _and_ visible elements.
#                                    * :all - same as false; finds visible and invisible elements.
#                                    * :hidden - only finds invisible elements.
#                                    * :visible - same as true; only finds visible elements.
# @example
#   timeline_bar.hover_at(100, 5)
#
Hover at a specific location within an object
Hover at a specific location within an object
def hover_at(x, y, visible = true)
      obj, = find_element(visible)
      raise "UI #{object_ref_message} not found" unless obj
      obj.hover_at(x, y)
    end
def hover_at ( x , y , visible = true ) obj , = find_element ( visible ) raise "UI #{object_ref_message} not found" unless obj obj . hover_at ( x , y ) end
Hover at a specific location within an object
Hover at a specific location within an object
x
None
y
None
visible
Only find elements with the specified visibility: * true - only finds visible elements. * false - finds invisible _and_ visible elements. * :all - same as false; finds visible and invisible elements. * :hidden - only finds invisible elements. * :visible - same as true; only finds visible elements.
Only find elements with the specified visibility : * true - only finds visible elements . * false - finds invisible _and_ visible elements . * : all - same as false ; finds visible and invisible elements . * : hidden - only finds invisible elements . * : visible - same as true ; only finds visible elements .
example
None