Sha256: 6baeb2e469ab6f92009bcfdef2ae71f2cc03fe3133fc546c92d614d249b9c0de

Contents?: true

Size: 401 Bytes

Versions: 8

Compression:

Stored size: 401 Bytes

Contents

module PageObject
  module Elements
    class TableCell < Element

      protected

      def self.watir_finders
        super + [:text]
      end

      def self.selenium_finders
        super + [:text]
      end

    end

    ::PageObject::Elements.tag_to_class[:td] = ::PageObject::Elements::TableCell
    ::PageObject::Elements.tag_to_class[:th] = ::PageObject::Elements::TableCell
    
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

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