From: Peter Szinek Date: 2006-11-21T22:46:26+09:00 Subject: Re: mechanize question Peter Szinek wrote: > Hello, > > I am using mechanize 0.6.3. On Aaron's blog I have found this example: > > form.selectlist.options[2].select > > however, for me, 'puts form.methods.sort' revealed that form does not > have a method 'selectlist'. What's up? I am doing something wrong? Meanwhile, after browsing the RDoc of WWW::Mechanize::GlobalForm I have found that indeed, Form does not have a selectlist method. OK but then How I am supposed to get the selectlist of a form? the $1.000.000 question: In the same RDoc I read this: 'Class Form does not work in the case there is some invalid (unbalanced) html involved...' Well, on my page, the
tag is not even closed. Can this be fixed somehow? Thanks, Peter __ http://www.rubyrailways.com