Sha256: 875c6bec2e6f4d303d02a527850785afa23fee88f2b721664f22d520d55d156a

Contents?: true

Size: 363 Bytes

Versions: 11

Compression:

Stored size: 363 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

11 entries across 11 versions & 3 rubygems

Version Path
page-object-2.0.0 lib/page-object/platforms/selenium_webdriver/radio_button.rb
page-object-1.2.2 lib/page-object/platforms/selenium_webdriver/radio_button.rb
page-object-1.2.1 lib/page-object/platforms/selenium_webdriver/radio_button.rb
page-object-1.2.0 lib/page-object/platforms/selenium_webdriver/radio_button.rb
page-object-1.1.1 lib/page-object/platforms/selenium_webdriver/radio_button.rb
page_object-1.1.3 lib/page-object/platforms/selenium_webdriver/radio_button.rb
page_object-1.1.2 lib/page-object/platforms/selenium_webdriver/radio_button.rb
page_object-1.1.1 lib/page-object/platforms/selenium_webdriver/radio_button.rb
page-object-1.1.0 lib/page-object/platforms/selenium_webdriver/radio_button.rb
page-object-1.0.3 lib/page-object/platforms/selenium_webdriver/radio_button.rb
meeane-page-object-0.1.11 lib/page-object/platforms/selenium_webdriver/radio_button.rb