Sha256: 553977949f4af323611776ee72c04fcac598c6643ae6a38f4225620fcad6dfd3

Contents?: true

Size: 438 Bytes

Versions: 27

Compression:

Stored size: 438 Bytes

Contents

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
  end # HiddenCollection
end

Version data entries

27 entries across 27 versions & 2 rubygems

Version Path
watir-6.0.0.beta5 lib/watir/elements/hidden.rb
watir-6.0.0.beta4 lib/watir/elements/hidden.rb
watir-6.0.0.beta3 lib/watir/elements/hidden.rb
watir-6.0.0.beta2 lib/watir/elements/hidden.rb
watir-6.0.0.beta1 lib/watir/elements/hidden.rb
watir-webdriver-0.9.3 lib/watir-webdriver/elements/hidden.rb
watir-webdriver-0.9.2 lib/watir-webdriver/elements/hidden.rb