# File lib/selenium/openqa/selenium.rb, line 229 def get_boolean_array(verb, args) boolarr = get_string_array(verb, args) boolarr.length.times do |i| if ("true" == boolstr) boolarr[i] = true next end if ("false" == boolstr) boolarr[i] = false next end raise ValueError, "result is neither 'true' nor 'false': " + boolarr[i] end return boolarr end