Class: FireWatir::Radios

Inherits:
ElementCollections show all
Defined in:
lib/firewatir/element_collections.rb

Overview

Class for accessing all the Radio button elements in the document.

It would normally only be accessed by the FireWatir::Container#radios method

Instance Method Summary collapse

Methods inherited from ElementCollections

#[], #each, #first, inherited, #initialize, #inspect, #last, #length, #to_s

Methods included from JsshSocket

#js_eval, #js_eval_method, #jssh_socket, #read_socket

Constructor Details

This class inherits a constructor from FireWatir::ElementCollections

Instance Method Details

#locate_elementsObject



213
214
215
# File 'lib/firewatir/element_collections.rb', line 213

def locate_elements
  locate_tagged_elements("input", ["radio"])
end