Skip Menu |

This queue is for tickets about the WWW-Mechanize-Shell CPAN distribution.

Report information
The Basics
Id: 2952
Status: open
Priority: 0/
Queue: WWW-Mechanize-Shell

People
Owner: corion [...] cpan.org
Requestors: MARKSTOS [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.28
Fixed in: (no value)



Subject: no way to change the current form
Hello, I was just playing with the current version, .28 I think. From reading the documentation, I can't tell a way to change the current form that's being worked with. I'm looking at a page that's got a lot of small forms on it. (Sorry, no public link available). I want to click the submit button in form #3, but I can't tell how to that. Here's part of a solution: When I use 'forms', it displays the forms and assigns each one a number. After it dumps the forms, I think it should say something like: "Select a form to work with with the current_form command". Then you could type: current_form 3 to set the current form It would also be nice if the commands that deal with forms, such as 'submit' and 'fillout' could take an extra argument, the form number, so the command would be restricted to just that form. Thanks Max. Mark
From: "Max Maischein" <corion [...] corion.net>
To: <bug-WWW-Mechanize-Shell [...] rt.cpan.org>
Subject: Re: [cpan #2952] no way to change the current form
Date: Tue, 15 Jul 2003 18:12:34 +0200
RT-Send-Cc:
Hi Mark, Show quoted text
> I was just playing with the current version, .28 I think.
Yup Show quoted text
> From reading the documentation, I can't tell a way to change the current
form that's Show quoted text
> being worked with. I'm looking at a page that's got a lot of small forms
on it. (Sorry, no Show quoted text
> public link available). I want to click the submit button in form #3, but
I can't tell how to Show quoted text
> that.
Then this is merely undocumented - the "form" command sets the current form (by number though). -max