Sha256: 65f9cd02091c203771f32c658735b12271a6d70fa9e346f59e8c89f2beb12478

Contents?: true

Size: 506 Bytes

Versions: 46

Compression:

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

46 entries across 46 versions & 3 rubygems

Version Path
page-object-2.0.0 lib/page-object/elements/table_cell.rb
page-object-1.2.2 lib/page-object/elements/table_cell.rb
page-object-1.2.1 lib/page-object/elements/table_cell.rb
page-object-1.2.0 lib/page-object/elements/table_cell.rb
page-object-1.1.1 lib/page-object/elements/table_cell.rb
page_object-1.1.3 lib/page-object/elements/table_cell.rb
page_object-1.1.2 lib/page-object/elements/table_cell.rb
page_object-1.1.1 lib/page-object/elements/table_cell.rb
page-object-1.1.0 lib/page-object/elements/table_cell.rb
page-object-1.0.3 lib/page-object/elements/table_cell.rb
meeane-page-object-0.1.11 lib/page-object/elements/table_cell.rb
page-object-1.0.2 lib/page-object/elements/table_cell.rb
page-object-1.0.1 lib/page-object/elements/table_cell.rb
page-object-1.0 lib/page-object/elements/table_cell.rb
page-object-0.9.8 lib/page-object/elements/table_cell.rb
page-object-0.9.7 lib/page-object/elements/table_cell.rb
page-object-0.9.6 lib/page-object/elements/table_cell.rb
page-object-0.9.5 lib/page-object/elements/table_cell.rb
page-object-0.9.4 lib/page-object/elements/table_cell.rb
page-object-0.9.3 lib/page-object/elements/table_cell.rb