Date: | Wed, 24 Mar 2004 17:11:02 +0100 (CET) |
From: | Scott Lanning <lannings [...] who.int> |
To: | bug-www-mechanize [...] rt.cpan.org |
Subject: | select numbered item |
Something I liked was the recently added `select'
method, to select from a dropdown list. An idea I had
for this is kind of like `set_visible' method,
except that it has nothing to do with visibility.
What I mean is that maybe you could set a particular
number of item from the list, like say the 3rd one,
rather than having to specify the name. I'd have to
look at HTML::Form more to see if that's possible;
I think so using the `possible_values' method.
Not sure about the interface though as the name
could just as well be a number. I guess there is
already a `form_number', so maybe `select_number'.