Sha256: 46bb1e296d1cfb525d3e8ea4d8c93e8244395f9467493f2c5720aa6ce5d56b86

Contents?: true

Size: 778 Bytes

Versions: 1

Compression:

Stored size: 778 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 link options)
      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.13.0 lib/watir/generator/html/generator.rb