Method: Capybara::UI::RadioButton#id
- Defined in:
- lib/capybara/ui/widgets/radio_button.rb
#id ⇒ String
Returns The id of the checked button.
38 39 40 |
# File 'lib/capybara/ui/widgets/radio_button.rb', line 38 def id visible?(:checked) ? (:checked).id : nil end |