From: Joel Pearson Date: 2013-03-24T03:51:06+09:00 Subject: Re: Need to parse a list of checkboxes - ruby mechanize tamouse's suggestion is probably the best way to do this. As you already have the objects in a collection it's as simple as iterating through it and performing the same action on each. If you also want the names then you could do this: checkboxForm.checkboxes.map{|b| b.click; b.name } It will click each checkbox and return an array of the names as well. -- Posted via http://www.ruby-forum.com/.