Sha256: 39d9cff5d1ddf5ad567a4760257e6fa23cc1b688b1c6c11be1d4321eb60ec378

Contents?: true

Size: 762 Bytes

Versions: 7

Compression:

Stored size: 762 Bytes

Contents

module Watir
  module Generator
    class HTML < Base
      private

      def ignored_tags
        %w[link]
      end

      def ignored_interfaces
        ignored = ignored_tags.map { |tag| "HTML#{tag.capitalize}Element" }
        # frame is implemented manually, see https://github.com/watir/watir/issues/204
        ignored << 'HTMLFrameElement'
      end

      def ignored_attributes
        %w[cells elements hash rows span text size selected? style
           width height tHead tFoot link options selected caption]
      end

      def generator_implementation
        'HTML'
      end

      def visitor_class
        HTML::Visitor
      end

      def extractor_class
        HTML::SpecExtractor
      end
    end # Generator
  end # HTML
end # Watir

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
watir-7.1.0 lib/watir/generator/html/generator.rb
watir-7.0.0 lib/watir/generator/html/generator.rb
watir-7.0.0.beta5 lib/watir/generator/html/generator.rb
watir-7.0.0.beta4 lib/watir/generator/html/generator.rb
watir-7.0.0.beta3 lib/watir/generator/html/generator.rb
watir-7.0.0.beta2 lib/watir/generator/html/generator.rb
watir-7.0.0.beta1 lib/watir/generator/html/generator.rb