Sha256: 519918a770dd2a1a255a2342dc2e9c63456514866dd63c7afb4e8c27dd0b809c

Contents?: true

Size: 481 Bytes

Versions: 3

Compression:

Stored size: 481 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
    def element_class
      Hidden
    end
  end # HiddenCollection
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
watir-webdriver-0.9.1 lib/watir-webdriver/elements/hidden.rb
watir-webdriver-0.9.0 lib/watir-webdriver/elements/hidden.rb
watir-webdriver-0.8.0 lib/watir-webdriver/elements/hidden.rb