Sha256: 178bfbd40be31065262d19a406b0d3124439672641f94771fc3d1a00e42863cb

Contents?: true

Size: 793 Bytes

Versions: 4

Compression:

Stored size: 793 Bytes

Contents

# frozen_string_literal: true

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

4 entries across 4 versions & 1 rubygems

Version Path
watir-7.3.0 lib/watir/generator/html/generator.rb
watir-7.2.2 lib/watir/generator/html/generator.rb
watir-7.2.1 lib/watir/generator/html/generator.rb
watir-7.2.0 lib/watir/generator/html/generator.rb