Sha256: ee5708c9e0ff34a8a1eca6a0535deac090a52cf2a10c9b2ba00836d209bedda8

Contents?: true

Size: 485 Bytes

Versions: 5

Compression:

Stored size: 485 Bytes

Contents

module PageObject
  module Platforms
    module LdsWatirWebDriver
      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

5 entries across 5 versions & 1 rubygems

Version Path
page-object-lds-0.0.14 lib/page-object/platforms/lds_watir_webdriver/check_box.rb
page-object-lds-0.0.13 lib/page-object/platforms/lds_watir_webdriver/check_box.rb
page-object-lds-0.0.12 lib/page-object/platforms/lds_watir_webdriver/check_box.rb
page-object-lds-0.0.11 lib/page-object/platforms/lds_watir_webdriver/check_box.rb
page-object-lds-0.0.1 lib/page-object/platforms/lds_watir_webdriver/check_box.rb