def tap(query, options={})
      ensure_query_class_or_nil(query)

      gesture_options = options.dup
      gesture_options[:at] ||= {}
      gesture_options[:at][:x] ||= 50
      gesture_options[:at][:y] ||= 50
      gesture_options[:timeout] ||= Calabash::Gestures::DEFAULT_GESTURE_WAIT_TIMEOUT

      _tap(query, gesture_options)
    end
def tap(query, options={})
      ensure_query_class_or_nil(query)

      gesture_options = options.dup
      gesture_options[:at] ||= {}
      gesture_options[:at][:x] ||= 50
      gesture_options[:at][:y] ||= 50
      gesture_options[:timeout] ||= Calabash::Gestures::DEFAULT_GESTURE_WAIT_TIMEOUT

      _tap(query, gesture_options)
    end
Performs a `tap` on the (first) view that matches `query`.
 @see Calabash::Gestures#tap
 @!visibility private