From: Mat Schaffer Date: 2007-01-31T22:54:30+09:00 Subject: Re: Mechanize: find form with 'id' rather than 'name'? On Jan 31, 2007, at 8:44 AM, Andy Lester wrote: > On Jan 31, 2007, at 5:18 AM, Peter Szinek wrote: >> My problem is that the from does *not* have a 'name' attribute in >> the html - so apparently I can not use that to locate it - >> therefore I would like to use 'id' - or what else should I do? > I haven't dug into the Ruby Mech yet, but the Perl version lets you > pick the Nth form on the page. Ruby's should have a Page#forms that works like an array.