Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

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

Report information
The Basics
Id: 3161
Status: resolved
Priority: 0/
Queue: WWW-Mechanize

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

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



Date: Tue, 05 Aug 2003 19:16:06 +0200
From: Mathieu Arnold <mat [...] cpan.org>
To: Andy Lester <andy [...] petdance.com>
CC: bug-www-mechanize [...] rt.cpan.org
Subject: Re: CPAN Upload: M/MA/MAT/WWW-Mechanize-SpamCop-0.03.tar.gz
+-Le 05/08/2003 12:04 -0500, Andy Lester écrivait : |> Well, there are 3 buttons, and calling submit did not work but I don't |> recall why. I guess that's because if you just submit without clicking on |> the button, there will be no "submit" = "value of the button" in the |> resulting query. | | | Ah, I see. Can you give me some HTML and an example of what you'd like | Mech to do, and I'll patch it up? <input type="submit" value="Send Spam Report(s) Now"> <input type="submit" value="Preview Reports"> <input type="submit" value="Cancel"> in this form, there are 3 buttons, which are exactly like above, and what I would like to be able to do is say : $self->click(1); which would tell it to click the first button. (I know, the deep magic will be in HTML::Form :) ) or, better (but changing the API) $self->click(number => 1); $self->click(value => 'Send Spam Report(s) Now', x => 12, y => 11); -- Mathieu Arnold