Sha256: 8da5a9b8845861066427414025e359e945a7fe36ef07ae668adc8229ee226a7b

Contents?: true

Size: 336 Bytes

Versions: 7

Compression:

Stored size: 336 Bytes

Contents

module PageObject
  module Elements
    class ListItem < Element

      protected

      def self.watir_finders
        super + [:text]
      end

      def self.selenium_finders
        super + [:text]
      end
    end

    ::PageObject::Elements.tag_to_class[:li] = ::PageObject::Elements::ListItem
    
  end
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
page-object-lds-0.0.14 lib/page-object/elements/list_item.rb
page-object-lds-0.0.13 lib/page-object/elements/list_item.rb
page-object-lds-0.0.12 lib/page-object/elements/list_item.rb
page-object-lds-0.0.11 lib/page-object/elements/list_item.rb
page-object-lds-0.0.1 lib/page-object/elements/list_item.rb
meeane-page-object-0.1.10 lib/page-object/elements/list_item.rb
meeane-page-object-0.1.8 lib/page-object/elements/list_item.rb