Sha256: c4dd93b2a1aadd84b8584aca72c7f65cd13c86148b5e1cdbd8c70887efac5369

Contents?: true

Size: 366 Bytes

Versions: 7

Compression:

Stored size: 366 Bytes

Contents

module PageObject
  module Elements
    class Span < Element

      protected

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

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

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
page-object-0.6.5 lib/page-object/elements/span.rb
page-object-0.6.4 lib/page-object/elements/span.rb
page-object-0.6.3 lib/page-object/elements/span.rb
page-object-0.6.2 lib/page-object/elements/span.rb
page-object-0.6.1 lib/page-object/elements/span.rb
page-object-0.6 lib/page-object/elements/span.rb
page-object-0.5.5 lib/page-object/elements/span.rb