class Capybara::RSpecMatchers::Compound::Or
def match(_expected, actual)
def match(_expected, actual) @evaluator = CapybaraEvaluator.new(actual) syncer = sync_element(actual) begin syncer.synchronize do @evaluator.reset raise ::Capybara::ElementNotFound unless [matcher_1_matches?, matcher_2_matches?].any? true end rescue StandardError false end end