View Full Version : Help with Watir-webdriver

May 19, 2012, 09:35 AM
Hey guys, I'm trying to loop through a select list on this website:


to get the total number of 'loads' per company. The select list can be found with

[browser].select_list(:id, 'cmp')

What I'd LIKE to do, is loop through the select list options because there are so many. How can I either print, capture in an array, or otherwise organize all the options for this list so as to access via index? Thanks for any help!