Sha256: 51afc1de1d6403fde5bd38e6946c17eba44d05aadf028e144d5705463f3d806c
Contents?: true
Size: 445 Bytes
Versions: 48
Compression:
Stored size: 445 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
48 entries across 48 versions & 3 rubygems