Sha256: 91d0dc3c275bce2f011eaf8944da5ea374a9028dbd9c6aa86cfda5eb4d7f95b1

Contents?: true

Size: 444 Bytes

Versions: 2

Compression:

Stored size: 444 Bytes

Contents

module PageObject
  module Platforms
    module Watir
      module CheckBox
        
        #
        # 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
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
page-object-0.2.5 lib/page-object/platforms/watir/check_box.rb
page-object-0.2.4 lib/page-object/platforms/watir/check_box.rb