Sha256: cdcc7a5dd0e5c0b012ca27766cb942b5206d3751c48722ef1929b998f0c69569

Contents?: true

Size: 439 Bytes

Versions: 2

Compression:

Stored size: 439 Bytes

Contents

module PageObject
  module Elements
    class TableCell < Element

      #
      # return true if the element is enabled
      #
      def enabled?
        true
      end

      protected

      def self.watir_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

2 entries across 2 versions & 1 rubygems

Version Path
page-object-2.1.1 lib/page-object/elements/table_cell.rb
page-object-2.1 lib/page-object/elements/table_cell.rb