module Capybara::RSpecMatcherProxies
def all(*args, **kwargs, &block)
def all(*args, **kwargs, &block) if defined?(::RSpec::Matchers::BuiltIn::All) && args.first.respond_to?(:matches?) ::RSpec::Matchers::BuiltIn::All.new(*args) else find_all(*args, **kwargs, &block) end end
def within(*args, **kwargs, &block)
def within(*args, **kwargs, &block) if block within_element(*args, **kwargs, &block) else be_within(*args) end end