mirror of
https://github.com/teamcapybara/capybara.git
synced 2022-11-09 12:08:07 -05:00
19 lines
No EOL
302 B
Ruby
19 lines
No EOL
302 B
Ruby
module Capybara
|
|
module Queries
|
|
class MatchQuery < Capybara::Queries::SelectorQuery
|
|
def visible
|
|
if options.has_key?(:visible)
|
|
super
|
|
else
|
|
:all
|
|
end
|
|
end
|
|
|
|
private
|
|
|
|
def valid_keys
|
|
super - COUNT_KEYS
|
|
end
|
|
end
|
|
end
|
|
end |