From: Love U Ruby Date: 2013-02-07T23:34:58+09:00 Subject: Re: how to skip lines whenever there is an error? Love U Ruby wrote in post #1095742: > Hi, > > I have the code below : > > begin option.select_by(:text, value) wbs.cells(rows,9).value = "Done" <~~~~ Found the resolutions here rescue Selenium::WebDriver::Error::NoSuchElementError end #print "nothing" rows = rows + 1 count_dropdown = count_dropdown - 1 -- Posted via http://www.ruby-forum.com/.