lib/kitchen/element_enumerator_factory.rb
# Builds a new enumerator that finds elements matching either this factory's or the provided
# factory's selectors.
#
# @param other_factory [ElementEnumeratorFactory]
# @return [ElementEnumeratorFactory]
#
Builds a new enumerator that finds elements matching either this factory's or the provided
factory's selectors.
Builds a new enumerator that finds elements matching either this factory ' s or the provided factory ' s selectors .
def or_with(other_factory)
      self.class.new(
        default_css_or_xpath: [default_css_or_xpath, other_factory.default_css_or_xpath],
        enumerator_class: TypeCastingElementEnumerator,
        detect_sub_element_class: true
      )
    end
def or_with ( other_factory ) self . class . new ( default_css_or_xpath : [ default_css_or_xpath , other_factory . default_css_or_xpath ] , enumerator_class : TypeCastingElementEnumerator , detect_sub_element_class : true ) end
Builds a new enumerator that finds elements matching either this factory's or the provided
factory's selectors.
Builds a new enumerator that finds elements matching either this factory ' s or the provided factory ' s selectors .
None
ElementEnumeratorFactory
other_factory
<not_specific>
<not_specific>
None