petdance/test-www-mechanize — Issue #11: submit_form_ok and checkbox
Author: forwardever
Created: 2011-12-13 11:27:33+00:00
State: open

it seems that there is no way to uncheck a checked checkbox

# foo is checked and should be unchecked by 'foo' => undef
$mech->submit_form_ok({
form_number => 1,
fields => {
'foo' => undef
}
});