From: Peter Szinek Date: 2007-02-23T17:07:29+09:00 Subject: Re: can ruby automate form submission? Simon Jackson wrote: > thats exactly what i was looking for, thank you! Maybe it is an overkill for your situation, but you could chek out also scRUBYt! (http://scrubyt.org), a Web scraping framework based on WWW::Mechanize and Hpricot. For example, login to rubyforge.org looks like this: rubyforge_data = Scrubyt::Extractor.define do fetch 'http://rubyforge.org/' click_link 'Log In' fill_textfield 'form_loginname', '*login_here*' fill_textfield 'form_pw', '*pass_here*' submit end Cheers, Peter __ http://www.rubyrailways.com :: Ruby and Web2.0 blog http://scrubyt.org :: Ruby web scraping framework http://rubykitchensink.ca/ :: The indexed archive of all things Ruby