module Capybara::Node::Matchers

def ==(other)

def ==(other)
  eql?(other) || (other.respond_to?(:base) && base == other.base)
end