Sha256: d18afa69d2526fc182594108585954586433011c3ec3b8eb5f1f43aaa59fe033

Contents?: true

Size: 453 Bytes

Versions: 67

Compression:

Stored size: 453 Bytes

Contents

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

67 entries across 67 versions & 3 rubygems

Version Path
page-object-0.4.3 lib/page-object/platforms/watir_webdriver/check_box.rb
page-object-0.4.2 lib/page-object/platforms/watir_webdriver/check_box.rb
page-object-0.4.1 lib/page-object/platforms/watir_webdriver/check_box.rb
page-object-0.4.0 lib/page-object/platforms/watir_webdriver/check_box.rb
page-object-0.3.2 lib/page-object/platforms/watir_webdriver/check_box.rb
page-object-0.3.1 lib/page-object/platforms/watir_webdriver/check_box.rb
page-object-0.3.0 lib/page-object/platforms/watir_webdriver/check_box.rb