On 9/24/07, <b class="gmail_sendername">Shane Witbeck</b> <<a href="mailto:shane@digitalsanctum.com">shane@digitalsanctum.com</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
What's the best way to select a form on a page with Mechanize if the<br>form doesn't have the "name" attribute? I'm already familiar with the<br>page.form('myformname') syntax but this doesn't? work with forms that
<br>have no names.</blockquote><div><br>You can try selecting the form based on its location - like page.forms.first maybe...<br>Try <a href="http://www.makuchaku.info/blog/mechanizing-orkut">http://www.makuchaku.info/blog/mechanizing-orkut
</a><br><br>I hope it helps :)<br><br>--<br>Maku<br></div><br></div>