Class: Capybara::Queries::BaseQuery Private

Inherits:
Object
  • Object
show all
Defined in:
lib/capybara/queries/base_query.rb

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Constant Summary collapse

COUNT_KEYS =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

[:count, :minimum, :maximum, :between]

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#optionsObject (readonly)

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



7
8
9
# File 'lib/capybara/queries/base_query.rb', line 7

def options
  @options
end

Instance Method Details

#waitObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



9
10
11
12
13
14
15
# File 'lib/capybara/queries/base_query.rb', line 9

def wait
  if @options.has_key?(:wait)
    @options[:wait] || 0
  else
    Capybara.default_max_wait_time
  end
end