From: Li Chen Date: 2008-09-08T05:56:38+09:00 Subject: Re: find a button using mechanize Lex Williams wrote: > You must have missed my update on that method , if you're using the code > you pasted above . It should throw :FoundForm , instead of FoundForm . > Like this: Lex, No I don't. I try both of your scripts but they don't work. For me exception handling is not a priority and without it Ruby script still works very well.(Not like Java...). Here is the webpage: http://www.ask.com/web?qsrc=2352&o=0&l=dir&dm=&q=dictionary I try to 1) type a word such as "abacus" 2) click the "Go" button.(There are for "Go" button but I am only interested in the first one) 3) retrieve the definition( I might use Hpricot to do that) Thanks for the follow-up, Li -- Posted via http://www.ruby-forum.com/.