From: Joel Pearson Date: 2013-01-12T09:38:50+09:00 Subject: Re: can we read webpage grid data into an excel? I recommend handing the table's HTML to Nokogiri and letting it do the parsing for you. For example (using "driver" as Firefox with watir-webdriver): require 'nokogiri' doc = Nokogiri::HTML(driver.table(:id => 'example').html) doc.css('tr').each do |row| row.css('td').each do |cell| puts cell.text end #Cell loop end #Row loop -- Posted via http://www.ruby-forum.com/.