vendor/gems/gems/firewatir-1.2.1/MozillaBaseElement.rb
#
# Description:
#   Gets all the options of the select list element.
#
# Output:
#   Array of option elements.
#

Gets all the options of the select list element.

Array of option elements.
Gets all the options of the select list element . Array of option elements .
def options
            jssh_socket.send("#{element_object}.options.length;\n", 0)
            length = read_socket().to_i
            arr_options = Array.new(length)
            for i in 0..length - 1
                arr_options[i] = "#{element_object}.options[#{i}]"
            end
            return arr_options
        end
def options jssh_socket . send ( "#{element_object}.options.length;\n" , 0 ) length = read_socket ( ) . to_i arr_options = Array . new ( length ) for i in 0 .. length - 1 arr_options [ i ] = "#{element_object}.options[#{i}]" end return arr_options end
Description:
Gets all the options of the select list element.
Description : Gets all the options of the select list element .
#puts "options length is : #{length}"
