class Capybara::Result

def load_up_to(num)

def load_up_to(num)
  loop do
    break if @result_cache.size >= num
    @result_cache << @results_enum.next
  end
  @result_cache.size
end