Sha256: 6b12f7712e1aa692f870fe9b1aee044c02a16d6cb468e146e9050d72cb388555

Contents?: true

Size: 407 Bytes

Versions: 7

Compression:

Stored size: 407 Bytes

Contents

module PageObject
  module Elements
    class Span < Element

      protected

      def self.watir_finders
        [:class, :id, :index, :text, :title, :xpath]
      end
      
      def self.selenium_finders
        [:class, :css, :id, :name, :text, :title, :xpath, :index]
      end
    end

    ::PageObject::Elements.tag_to_class[:span] = ::PageObject::Elements::Span
    
  end
end

Version data entries

7 entries across 7 versions & 2 rubygems

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