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.2.3 lib/watir-webdriver/elements/hidden.rb
watir-webdriver-0.2.2 lib/watir-webdriver/elements/hidden.rb
watir-webdriver-0.2.1 lib/watir-webdriver/elements/hidden.rb
watir-webdriver-0.2.0 lib/watir-webdriver/elements/hidden.rb
watir-webdriver-0.2.0.dev2 lib/watir-webdriver/elements/hidden.rb
watir-webdriver-0.2.0.dev lib/watir-webdriver/elements/hidden.rb
watir-webdriver-0.1.9 lib/watir-webdriver/elements/hidden.rb
watir-webdriver-0.1.8 lib/watir-webdriver/elements/hidden.rb
watir-webdriver-0.1.7 lib/watir-webdriver/elements/hidden.rb
watir-webdriver-0.1.6 lib/watir-webdriver/elements/hidden.rb
watir-webdriver-0.1.5 lib/watir-webdriver/elements/hidden.rb
watir-webdriver-0.1.4 lib/watir-webdriver/elements/hidden.rb
watir-webdriver-0.1.3 lib/watir-webdriver/elements/hidden.rb
watir-webdriver-0.1.2 lib/watir-webdriver/elements/hidden.rb
ayanko-watir-webdriver-0.1.1.1 lib/watir-webdriver/elements/hidden.rb
watir-webdriver-0.1.1 lib/watir-webdriver/elements/hidden.rb
watir-webdriver-0.1.0 lib/watir-webdriver/elements/hidden.rb
watir-webdriver-0.0.9 lib/watir-webdriver/elements/hidden.rb
watir-webdriver-0.0.8 lib/watir-webdriver/elements/hidden.rb
watir-webdriver-0.0.7 lib/watir-webdriver/elements/hidden.rb