From: Joel Pearson Date: 2013-02-12T06:00:20+09:00 Subject: Re: Issue with Excel column values read. I don't know whether Selenium-Webdriver is easily capable of this kind of interaction, but this is the sort of thing I'd do when faced with an unknown select list in Watir-Webdriver: val = #Your current value elem = driver.select_list(:name, "defaultAnswerId") options = elem.options.map(&:text) if options.include?(val) elem.select(val) elsif val.class == Float && options.include?(val.to_i) elem.select(val.to_i) else puts "#{val} not found in list" end -- Posted via http://www.ruby-forum.com/.