lib/watir/radio_set.rb in watir-6.19.1 vs lib/watir/radio_set.rb in watir-7.0.0.beta1
- old
+ new
@@ -216,11 +216,11 @@
collection
end
end # RadioSet
module Container
- def radio_set(*args)
- RadioSet.new(self, extract_selector(args).merge(tag_name: 'input', type: 'radio'))
+ def radio_set(opts = {})
+ RadioSet.new(self, opts.merge(tag_name: 'input', type: 'radio'))
end
Watir.tag_to_class[:radio_set] = RadioSet
end # Container
end # Watir