my $form = $mech->current_form(); $form->action($new_action);