text
(String, Regexp)
— Only find elements which contain this text or match this regexpvisible
(Boolean, Symbol)
— Only find elements with the specified visibility:true
- only finds visible elements.false
- finds invisible and visible elements.:all
- same asfalse
; finds visible and invisible elements.:hidden
- only finds invisible elements.:visible
- same astrue
; only finds visible elements.
count
(Integer)
— Exact number of matches that are expected to be foundmaximum
(Integer)
— Maximum number of matches that are expected to be foundminimum
(Integer)
— Minimum number of matches that are expected to be foundbetween
(Range)
— Number of matches found must be within the given rangeexact
(Boolean)
— Control whetheris
expressions in the given XPath match exactly or partiallywait
(Integer)
— default:Capybara.default_max_wait_time
— The time to wait for element count expectations to becometrue
Source: http://www.rubydoc.info/github/jnicklas/capybara/Capybara/Node/Finders#all-instance_method