Sha256: 3dc8c510ca814301136014fcfbe335cb528ef942789415d70c96ce80f06ca28c
Contents?: true
Size: 467 Bytes
Versions: 7
Compression:
Stored size: 467 Bytes
Contents
module PageObject module Elements class HiddenField < Element def click raise "click is not available on hidden field element with Selenium or Watir" end protected def self.watir_finders super + [:text, :value] end def self.selenium_finders super + [:value] end end ::PageObject::Elements.type_to_class[:hidden] = ::PageObject::Elements::HiddenField end end
Version data entries
7 entries across 7 versions & 2 rubygems