Displaying 1 result from an estimated 1 matches for "page_form".
2007 Jul 28
3
problem with a form
...epages.com/10866/search/FindPerson"}
{fields
#<WWW::Mechanize::Field:0x2b729834b4b8 @name="firstname", @value="">
#<WWW::Mechanize::Field:0x2b7298347e08 @name="name", @value="">
The following bit of code seems to rename the form:
page_form = page.form(''wp_pers_form'')
page_form.name = ''smith''
page_form.firstname = ''joe''
Here is the first bit of the page form after pretty printing
#<WWW::Mechanize::Form
{name "smith"}
{method "GET"}
{action "http://w...