From: Joel Pearson Date: 2013-02-06T22:39:59+09:00 Subject: Re: Not able get the label text incurred with element This: driver.find_elements(:id,"filtersetedit_fieldNames").each do |x| Will give you only 1 result. That's not a loop. Read my example more carefully. If you're getting spaces within individual names, you'll need to extract the html from the Div and parse that using Regex to find the appropriate checkbox name. Here is an example of the Regex required to find the checkbox value for "Joh Das" http://www.rubular.com/r/yTrqoCRo5v -- Posted via http://www.ruby-forum.com/.