diff --git a/lib/capybara/node/simple.rb b/lib/capybara/node/simple.rb index bf5e2d4f..a3b1cdb1 100644 --- a/lib/capybara/node/simple.rb +++ b/lib/capybara/node/simple.rb @@ -124,8 +124,8 @@ module Capybara native.xpath(xpath).map { |node| self.class.new(node) } end - def wait? - false + def wait_until + yield # simple nodes don't need to wait end end end