Sha256: 0265324f6877ce59ba70349bc8aa2f644a2b014be91b9c7429b3d740d30f01f5

Contents?: true

Size: 385 Bytes

Versions: 7

Compression:

Stored size: 385 Bytes

Contents

module PageObject
  module Platforms
    module SeleniumWebDriver
      module RadioButton

        #
        # select the radiobutton
        #
        def select
          element.click unless selected?
        end

        #
        # return if it is selected
        #
        def selected?
          element.selected?
        end
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
page-object-lds-0.0.14 lib/page-object/platforms/selenium_webdriver/radio_button.rb
page-object-lds-0.0.13 lib/page-object/platforms/selenium_webdriver/radio_button.rb
page-object-lds-0.0.12 lib/page-object/platforms/selenium_webdriver/radio_button.rb
page-object-lds-0.0.11 lib/page-object/platforms/selenium_webdriver/radio_button.rb
page-object-lds-0.0.1 lib/page-object/platforms/selenium_webdriver/radio_button.rb
meeane-page-object-0.1.10 lib/page-object/platforms/selenium_webdriver/radio_button.rb
meeane-page-object-0.1.8 lib/page-object/platforms/selenium_webdriver/radio_button.rb