lib/page-object/elements/radio_button.rb in page-object-0.4.3 vs lib/page-object/elements/radio_button.rb in page-object-0.4.4

- old
+ new

@@ -9,9 +9,17 @@ include_platform_for platform end protected + def self.watir_finders + super + [:value] + end + + def self.selenium_finders + super + [:value] + end + def include_platform_for platform super if platform[:platform] == :watir_webdriver require 'page-object/platforms/watir_webdriver/radio_button' self.mixin PageObject::Platforms::WatirWebDriver::RadioButton