Sha256: 1e2862ac3f66f83bba176ea3cb45741ecdcecc90d06dfa6fdff51dfd342d7a58

Contents?: true

Size: 388 Bytes

Versions: 36

Compression:

Stored size: 388 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

36 entries across 36 versions & 3 rubygems

Version Path
page-object-0.9.2 lib/page-object/elements/span.rb
page-object-0.9.1 lib/page-object/elements/span.rb
page-object-0.9.0 lib/page-object/elements/span.rb
page-object-0.8.10 lib/page-object/elements/span.rb
page-object-0.8.9 lib/page-object/elements/span.rb
page-object-0.8.8 lib/page-object/elements/span.rb
page-object-0.8.7 lib/page-object/elements/span.rb
page-object-0.8.6.1 lib/page-object/elements/span.rb
page-object-0.8.6 lib/page-object/elements/span.rb
page-object-0.8.5 lib/page-object/elements/span.rb
page-object-0.8.4 lib/page-object/elements/span.rb
page-object-0.8.3 lib/page-object/elements/span.rb
page-object-0.8.2 lib/page-object/elements/span.rb
page-object-0.8.1 lib/page-object/elements/span.rb
page-object-0.8 lib/page-object/elements/span.rb
page-object-0.7.6 lib/page-object/elements/span.rb