lib/watir-formhandler/option_group.rb
def selected_options
      selected = []
      my_labels = option_names
      inputs.each_with_index do |field, index|
        selected << my_labels[index] if field.checked?
      end
      selected
    end
def selected_options
      selected = []
      my_labels = option_names
      inputs.each_with_index do |field, index|
        selected << my_labels[index] if field.checked?
      end
      selected
    end
Returns the selected options of this OptionGroup.
 @return [Array<String>] the selected options.