lib/page-object/elements/check_box.rb in page-object-0.9.0 vs lib/page-object/elements/check_box.rb in page-object-0.9.1
- old
+ new
@@ -1,6 +1,5 @@
-
module PageObject
module Elements
class CheckBox < Element
def initialize(element, platform)
@@ -13,10 +12,10 @@
def self.watir_finders
super + [:value, :label]
end
def self.selenium_finders
- super + [:value, :label]
+ super + [:value, :label, :css]
end
def include_platform_for platform
super
if platform[:platform] == :watir_webdriver