Sha256: 697f58ed597dd2589f5938904869eac8ca6d176da14ee53a88f6601e3c75e0f9

Contents?: true

Size: 511 Bytes

Versions: 60

Compression:

Stored size: 511 Bytes

Contents

# encoding: utf-8
module Watir
  class Hidden < Input
    def visible?
      false
    end
  end

  module Container
    def hidden(*args)
      Hidden.new(self, extract_selector(args).merge(:tag_name => "input", :type => "hidden"))
    end

    def hiddens(*args)
      HiddenCollection.new(self, extract_selector(args).merge(:tag_name => "input", :type => "hidden"))
    end
  end # Container

  class HiddenCollection < InputCollection
    def element_class
      Hidden
    end
  end # HiddenCollection
end

Version data entries

60 entries across 60 versions & 2 rubygems

Version Path
watir-webdriver-0.5.1 lib/watir-webdriver/elements/hidden.rb
watir-webdriver-0.5.0 lib/watir-webdriver/elements/hidden.rb
watir-webdriver-0.4.1 lib/watir-webdriver/elements/hidden.rb
watir-webdriver-0.4.0 lib/watir-webdriver/elements/hidden.rb
watir-webdriver-0.3.9 lib/watir-webdriver/elements/hidden.rb
watir-webdriver-0.3.8 lib/watir-webdriver/elements/hidden.rb
watir-webdriver-0.3.7 lib/watir-webdriver/elements/hidden.rb
watir-webdriver-0.3.6 lib/watir-webdriver/elements/hidden.rb
watir-webdriver-0.3.5 lib/watir-webdriver/elements/hidden.rb
watir-webdriver-0.3.4 lib/watir-webdriver/elements/hidden.rb
watir-webdriver-0.3.3 lib/watir-webdriver/elements/hidden.rb
watir-webdriver-0.3.2 lib/watir-webdriver/elements/hidden.rb
watir-webdriver-0.3.1 lib/watir-webdriver/elements/hidden.rb
watir-webdriver-0.3.0 lib/watir-webdriver/elements/hidden.rb
watir-webdriver-0.2.9 lib/watir-webdriver/elements/hidden.rb
watir-webdriver-0.2.8 lib/watir-webdriver/elements/hidden.rb
watir-webdriver-0.2.7 lib/watir-webdriver/elements/hidden.rb
watir-webdriver-0.2.6 lib/watir-webdriver/elements/hidden.rb
watir-webdriver-0.2.5 lib/watir-webdriver/elements/hidden.rb
watir-webdriver-0.2.4 lib/watir-webdriver/elements/hidden.rb