Sha256: a1ad5b8de94c15242237878e401ce2632c4d286c01d8c82aaf5879d9d8eb5900
Contents?: true
Size: 462 Bytes
Versions: 2
Compression:
Stored size: 462 Bytes
Contents
module PageObject module Elements class RadioButton < Element # # select the radiobutton # def select element.set end # # return if it is selected # def selected? element.set? end protected def self.watir_finders super + [:value, :label] end end ::PageObject::Elements.type_to_class[:radio] = ::PageObject::Elements::RadioButton end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
page-object-2.1.1 | lib/page-object/elements/radio_button.rb |
page-object-2.1 | lib/page-object/elements/radio_button.rb |