Sha256: bf5a3d5363fa851a1de07966f6d2f33ce88c9b09636606c936aa19d063078abf

Contents?: true

Size: 801 Bytes

Versions: 1

Compression:

Stored size: 801 Bytes

Contents

module Watir
  module Generator
    class HTML < Base

      private

      def ignored_tags
        # ignore the link element for now
        %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)
      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

1 entries across 1 versions & 1 rubygems

Version Path
watir-6.10.1 lib/watir/generator/html/generator.rb