Method: Capybara::Node::Simple#checked?
- Defined in:
- lib/capybara/node/simple.rb
#checked? ⇒ Boolean
Whether or not the element is checked.
120 121 122 |
# File 'lib/capybara/node/simple.rb', line 120 def checked? native.has_attribute?('checked') end |