Sha256: 5fbbd448bb81fe22f3b491c7c95287cce0bda16f3ed1cf33c4820242c6fd6dca

Contents?: true

Size: 338 Bytes

Versions: 2

Compression:

Stored size: 338 Bytes

Contents

module PageObject
  module Elements
    class Div < Element

      protected

      def self.watir_finders
        super + [:text, :title]
      end
      
      def self.selenium_finders
        super + [:text, :title, :css]
      end
      
    end

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
page-object-0.7.5.1 lib/page-object/elements/div.rb
page-object-0.7.5 lib/page-object/elements/div.rb