Sha256: 21666f155e31757b46489023705d2defe835f266487aec2a7680ff2d4326551d

Contents?: true

Size: 382 Bytes

Versions: 11

Compression:

Stored size: 382 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, :id, :name, :text, :title, :xpath, :index]
      end
    end

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

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
page-object-0.7.5.1 lib/page-object/elements/span.rb
page-object-0.7.5 lib/page-object/elements/span.rb
page-object-0.7.4 lib/page-object/elements/span.rb
page-object-0.7.3 lib/page-object/elements/span.rb
page-object-0.7.2 lib/page-object/elements/span.rb
page-object-0.7.1 lib/page-object/elements/span.rb
page-object-0.7.0 lib/page-object/elements/span.rb
page-object-0.6.9 lib/page-object/elements/span.rb
page-object-0.6.8 lib/page-object/elements/span.rb
page-object-0.6.7 lib/page-object/elements/span.rb
page-object-0.6.6 lib/page-object/elements/span.rb