in reply to Mechanize select with "id" or "class" other than "name".
->select uses HTML::Form->find_input, so you should be able to specify an id by using a # prefix:
$mech->select('#keyword-country-option', 'Canada');
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Mechanize select with "id" or "class" other than "name".
by Anonymous Monk on Nov 12, 2012 at 10:31 UTC |