From: Love U Ruby Date: 2013-02-06T07:44:31+09:00 Subject: Not able get the label text incurred with element I do have a below `HTML`:
John Ram Smith Paul
Now I have to check-box using selenium-webdriver. But I tried to get extract the values as `John,Ram etc`.But my code didn't worked at all. ***`CODE`*** driver.find_elements(:xpath,"//div[contains(@id,'filtersetedit_fieldNames')]/input") do |x| puts x.text.strip end But none of the values are printed. Any idea how to get it done. -- Posted via http://www.ruby-forum.com/.