1
0
Fork 0
mirror of https://github.com/teamcapybara/capybara.git synced 2022-11-09 12:08:07 -05:00
teamcapybara--capybara/lib/capybara/queries/match_query.rb

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