in reply to Re^2: WWW::Mechanize::FireFox - radios with the same name
in thread WWW::Mechanize::FireFox - radios with the same name
The documentation for ->field() in WWW::Mechanize::Firefox says:
A selector prefixed with '#' must match the id attribute of the input. A selector prefixed with '.' matches the class attribute. A selector prefixed with '^' or with no prefix matches the name attribute.
I'm not sure how to make this clearer, but maybe an example helps:
$mech->field('#foo', 'bar'); # set value of element with id "foo" to " +bar"
I don't think that radio boxes are well-supported with WWW::Mechanize::Firefox though, because I've never needed them.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
| A reply falls below the community's threshold of quality. You may see it by logging in. |