Sha256: 8e842ef1f5ab0c6fdeafde86fca1a9e59bcf5e8d77a0cf9d29cb78cc43d68a6b

Contents?: true

Size: 743 Bytes

Versions: 3

Compression:

Stored size: 743 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]
      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

3 entries across 3 versions & 1 rubygems

Version Path
watir-6.19.1 lib/watir/generator/html/generator.rb
watir-6.19.0 lib/watir/generator/html/generator.rb
watir-6.18.0 lib/watir/generator/html/generator.rb