Sha256: 70eb196ccd9348e34f6cc4cbc91d9cebd5d1c9c1d019f8a1a15cb70406197166

Contents?: true

Size: 845 Bytes

Versions: 13

Compression:

Stored size: 845 Bytes

Contents

# encoding: utf-8
module Watir

  #
  # H1 is handled by the generated code
  #


  class H2 < Heading
    default_selector.clear

    identifier         :tag_name => 'h2'
    container_method   :h2
    collection_method  :h2s
  end

  class H3 < Heading
    default_selector.clear

    identifier         :tag_name => 'h3'
    container_method   :h3
    collection_method  :h3s
  end

  class H4 < Heading
    default_selector.clear

    identifier         :tag_name => 'h4'
    container_method   :h4
    collection_method  :h4s
  end

  class H5 < Heading
    default_selector.clear

    identifier         :tag_name => 'h5'
    container_method   :h5
    collection_method  :h5s
  end

  class H6 < Heading
    default_selector.clear

    identifier         :tag_name => 'h6'
    container_method   :h6
    collection_method  :h6s
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
watir-webdriver-0.0.6 lib/watir-webdriver/elements/headings.rb
watir-webdriver-0.0.5 lib/watir-webdriver/elements/headings.rb
watir-webdriver-0.0.4 lib/watir-webdriver/elements/headings.rb
watir-webdriver-0.0.3 lib/watir-webdriver/elements/headings.rb
watir-webdriver-0.0.2 lib/watir-webdriver/elements/headings.rb
watir-webdriver-0.0.1 lib/watir-webdriver/elements/headings.rb
watir-webdriver-0.0.1.dev7 lib/watir-webdriver/elements/headings.rb
watir-webdriver-0.0.1.dev6 lib/watir-webdriver/elements/headings.rb
watir-webdriver-0.0.1.dev5 lib/watir-webdriver/elements/headings.rb
watir-webdriver-0.0.1.dev4 lib/watir-webdriver/elements/headings.rb
watir-webdriver-0.0.1.dev3 lib/watir-webdriver/elements/headings.rb
watir-webdriver-0.0.1.dev2 lib/watir-webdriver/elements/headings.rb
watir-webdriver-0.0.1.dev lib/watir-webdriver/elements/headings.rb