Sha256: 379aa7cee081b177307756d6fb373447bcd34b8b60f17ebceabeb68b6c4a19d3
Contents?: true
Size: 524 Bytes
Versions: 7
Compression:
Stored size: 524 Bytes
Contents
module PageObject module Platforms module SeleniumWebDriver module CheckBox # # check the checkbox # def check element.click unless element.selected? end # # uncheck the checkbox # def uncheck element.click if element.selected? end # # return true if it is checked # def checked? element.selected? end end end end end
Version data entries
7 entries across 7 versions & 2 rubygems