class Capybara::RSpecMatchers::Compound::Or

def sync_element(el)

def sync_element(el)
  if el.respond_to? :synchronize
    el
  elsif el.respond_to? :current_scope
    el.current_scope
  else
    Capybara.string(el)
  end
end