Sha256: 4ae368a42d017efcda76a08e299f0226fbdbf82a694122738b63a026e11735f9
Contents?: true
Size: 515 Bytes
Versions: 4
Compression:
Stored size: 515 Bytes
Contents
module PageObject module Elements class SelectList < Element def initialize(element, platform) @element = element include_platform_for platform end protected def child_xpath ".//child::option" end def self.watir_finders super + [:text, :value, :label] end def self.selenium_finders super + [:label] end end ::PageObject::Elements.tag_to_class[:select] = ::PageObject::Elements::SelectList end end
Version data entries
4 entries across 4 versions & 1 rubygems