Sha256: cfa887ed1a4f89c8a91e7ada4e4ef90455ccc4aaadc42b0abc0c89e54da07bfa

Contents?: true

Size: 372 Bytes

Versions: 10

Compression:

Stored size: 372 Bytes

Contents

module PageObject
  module Elements
    class Div < Element

      protected

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

    ::PageObject::Elements.tag_to_class[:div] = ::PageObject::Elements::Div
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
page-object-0.6.8 lib/page-object/elements/div.rb
page-object-0.6.7 lib/page-object/elements/div.rb
page-object-0.6.6 lib/page-object/elements/div.rb
page-object-0.6.5 lib/page-object/elements/div.rb
page-object-0.6.4 lib/page-object/elements/div.rb
page-object-0.6.3 lib/page-object/elements/div.rb
page-object-0.6.2 lib/page-object/elements/div.rb
page-object-0.6.1 lib/page-object/elements/div.rb
page-object-0.6 lib/page-object/elements/div.rb
page-object-0.5.5 lib/page-object/elements/div.rb