Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

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

Report information
The Basics
Id: 20561
Status: rejected
Priority: 0/
Queue: Test-WWW-Mechanize

People
Owner: Nobody in particular
Requestors: MARKSTOS [...] cpan.org
Cc:
AdminCc:

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



Subject: wish: support for selecting random values
It would be nice to support selecting random values when there are multiple possible values listed in the HTML form. Here's one way I could see that implemented: ... fields => { 'my_select_list' => $mech->rand, } Here the 'rand' method would return a code reference. Before the form is submitted, Test::WWW::Mech would notice the code reference, and translate it into a random value from the selection list. Mark
I can't see ever wantng to include this.