From: zwen Date: 2005-09-20T01:46:38+09:00 Subject: Some hacks for mechanize Hi, I am a ruby newbie hacking on the Mechanize. Some of my changes over the 0.3.1 version mechanize. 1) make it support http-proxy add a method of def set_proxy(addr,port,user=nil,pass=nil) @proxy_addr, @proxy_port,@proxy_user,@proxy_pass = addr,port,user,pass end replace the http setup in the fetch_page method as http = Net::HTTP.new(uri.host, uri.port,@proxy_addr, @proxy_port,@proxy_user,@proxy_pass) 2) a 'bug' of input type textbox. is ignored in the current form fields. add "textbox" in the method parse in GlobalForm as when 'text', 'password', 'hidden', 'int','textbox' Just my 2 cents Enjoy hacking...