Class: Capybara::Queries::MatchQuery Private

Inherits:
SelectorQuery show all
Defined in:
lib/capybara/queries/match_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

VALID_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.

[:text, :visible, :exact, :wait]

Constants inherited from SelectorQuery

SelectorQuery::VALID_MATCH

Constants inherited from BaseQuery

BaseQuery::COUNT_KEYS

Instance Attribute Summary

Attributes inherited from SelectorQuery

#expression, #find, #locator, #negative, #options, #selector

Attributes inherited from BaseQuery

#options

Instance Method Summary collapse

Methods inherited from SelectorQuery

#css, #description, #exact?, #initialize, #label, #match, #matches_filters?, #name, #resolve_for, #supports_exact?, #xpath

Methods inherited from BaseQuery

#expects_none?, #failure_message, #matches_count?, #negative_failure_message, #wait, wait

Constructor Details

This class inherits a constructor from Capybara::Queries::SelectorQuery

Instance Method Details

#visibleObject

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.



6
7
8
9
10
11
12
# File 'lib/capybara/queries/match_query.rb', line 6

def visible
  if options.has_key?(:visible)
    super
  else
    :all
  end
end