Displaying 1 result from an estimated 1 matches for "interdrugs".
2008 Jan 15
1
Converting Watir script to Mechanize
..._string='' for
#<WWW::Mechanize::Form:0x33653c8> (NoMethodError)
Here the script I''m testing
require ''mechanize''
agent = WWW::Mechanize.new
page = agent.get(''http://cpref.gsm.com/inter.asp?r=8084'')
search_form = page.forms.with.name("interdrugs").first
search_form.inter_string = "Potassium"
search_form.submit
puts page.body
Any help would be greatly appreciated.
Luis