Hi I am a newbie to groups and to ruby, watir, watir-webdriver etc...

Basically all I would like to do is export a table from a web page
which I have instructed the browser to find using Watir-webdriver. I
just want to take the whole contents of the html table and place it
into Excel for further analysis.

I have the got the following code to work:

require 'rubygems'
require 'hpricot'
require "watir-webdriver"
url = "http://www.mycounciltax.org.uk/results?
postcode=cv35+8au&search=Search"
browser = Watir::Browser.new
browser.goto url


All i would like to do now is save the table. How do save the html to
a csv or .txt file into my C;\Temp folder?

Best Regards,

Mark

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com

Reply via email to