Sha256: 95b80e6cd349f316ebf70828ca640d79436ac024ee7f6b3b40fd2aae5963db60
Contents?: true
Size: 559 Bytes
Versions: 2
Compression:
Stored size: 559 Bytes
Contents
module PageObject module Elements class CheckBox < Element # # check the checkbox # def check element.set end # # uncheck the checkbox # def uncheck element.clear end # # return true if checkbox is checked # def checked? element.set? end protected def self.watir_finders super + [:value, :label] end end ::PageObject::Elements.type_to_class[:checkbox] = ::PageObject::Elements::CheckBox end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
page-object-2.1.1 | lib/page-object/elements/check_box.rb |
page-object-2.1 | lib/page-object/elements/check_box.rb |