Sha256: e5547e01a2f7cb59da05e1a38c2479fb54beaf335d02b7dedc6b37fedee0f5f0

Contents?: true

Size: 534 Bytes

Versions: 7

Compression:

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

      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

7 entries across 7 versions & 2 rubygems

Version Path
page-object-lds-0.0.14 lib/page-object/elements/table_cell.rb
page-object-lds-0.0.13 lib/page-object/elements/table_cell.rb
page-object-lds-0.0.12 lib/page-object/elements/table_cell.rb
page-object-lds-0.0.11 lib/page-object/elements/table_cell.rb
page-object-lds-0.0.1 lib/page-object/elements/table_cell.rb
meeane-page-object-0.1.10 lib/page-object/elements/table_cell.rb
meeane-page-object-0.1.8 lib/page-object/elements/table_cell.rb