Sha256: 986e0fdc5e98a89e02126452e58615e2866cfbf011e90d807c208441afc8febc

Contents?: true

Size: 729 Bytes

Versions: 6

Compression:

Stored size: 729 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-webdriver/issues/204
        ignored << 'HTMLFrameElement'
      end

      def ignored_attributes
        %w(cells elements hash rows span text)
      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

6 entries across 6 versions & 1 rubygems

Version Path
watir-webdriver-0.9.9 lib/watir-webdriver/generator/html/generator.rb
watir-webdriver-0.9.3 lib/watir-webdriver/generator/html/generator.rb
watir-webdriver-0.9.2 lib/watir-webdriver/generator/html/generator.rb
watir-webdriver-0.9.1 lib/watir-webdriver/generator/html/generator.rb
watir-webdriver-0.9.0 lib/watir-webdriver/generator/html/generator.rb
watir-webdriver-0.8.0 lib/watir-webdriver/generator/html/generator.rb